Skip to content

Commit 1b930ee

Browse files
committed
Update compretty.js
1 parent 4ae47df commit 1b930ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/compretty.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2826,6 +2826,7 @@ export class CompRettyCompetition {
28262826
var _msg = `Competition has been inactive for more than ${_time}, all players have been kicked. :cloud_tornado:`;
28272827
this.#teams.dmPlayers(`{"content":"> ${this.#name}: ${_msg}\\n\\nhttps://discord.com/channels/${interaction.guild_id}/${interaction.channel_id}"}`);
28282828
this.#rest.createMessage(this.#channelID, `{"content":"> ${_msg}"}`);
2829+
this.#rest.modifyCurrentMember(interaction.guild_id, '{"nick":"CompRetty"}');
28292830
this.#autoClearDate = addMilliseconds(_now, this.#autoClearThreshold);
28302831
this.clearPlayers();
28312832
this.saveSync();

0 commit comments

Comments
 (0)