Removing references to discordBot

This commit is contained in:
Absurdon 2018-11-20 20:22:53 +01:00 committed by GitHub
parent ea0ae11af6
commit 2531d82221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ StateMachine.create({
},
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
this.startElectionCountdown();
},
@ -169,7 +169,7 @@ StateMachine.create({
self.modifyGatherer(user, (gatherer) => gatherer.voteRegather(vote));
if (self.regatherVotes() >= self.REGATHER_THRESHOLD) {
self.resetState();
discordBot.notifyChannel("@here Gather was reset! Rejoin to play!");
// discordBot.notifyChannel("@here Gather was reset! Rejoin to play!");
return true;
} else {
return false;
@ -178,7 +178,7 @@ StateMachine.create({
// On enter done
onenterdone: function () {
discordBot.notifyChannel("Picking finished! Join the server!");
// discordBot.notifyChannel("Picking finished! Join the server!");
this.done.time = new Date();
this.onDone.apply(this, [].slice.call(arguments));
}