mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-12-01 16:51:24 +00:00
Removing references to discordBot
This commit is contained in:
parent
ea0ae11af6
commit
2531d82221
1 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ StateMachine.create({
|
||||||
},
|
},
|
||||||
|
|
||||||
onenterelection: function () {
|
onenterelection: function () {
|
||||||
discordBot.notifyChannel("Gather is starting! Pick your captains at https://gathers.ensl.org");
|
// discordBot.notifyChannel("Gather is starting! Pick your captains at https://gathers.ensl.org");
|
||||||
// Setup timer for elections
|
// Setup timer for elections
|
||||||
this.startElectionCountdown();
|
this.startElectionCountdown();
|
||||||
},
|
},
|
||||||
|
@ -169,7 +169,7 @@ StateMachine.create({
|
||||||
self.modifyGatherer(user, (gatherer) => gatherer.voteRegather(vote));
|
self.modifyGatherer(user, (gatherer) => gatherer.voteRegather(vote));
|
||||||
if (self.regatherVotes() >= self.REGATHER_THRESHOLD) {
|
if (self.regatherVotes() >= self.REGATHER_THRESHOLD) {
|
||||||
self.resetState();
|
self.resetState();
|
||||||
discordBot.notifyChannel("@here Gather was reset! Rejoin to play!");
|
// discordBot.notifyChannel("@here Gather was reset! Rejoin to play!");
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
@ -178,7 +178,7 @@ StateMachine.create({
|
||||||
|
|
||||||
// On enter done
|
// On enter done
|
||||||
onenterdone: function () {
|
onenterdone: function () {
|
||||||
discordBot.notifyChannel("Picking finished! Join the server!");
|
// discordBot.notifyChannel("Picking finished! Join the server!");
|
||||||
this.done.time = new Date();
|
this.done.time = new Date();
|
||||||
this.onDone.apply(this, [].slice.call(arguments));
|
this.onDone.apply(this, [].slice.call(arguments));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue