mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-23 04:52:00 +00:00
Merge branch 'master' of github.com:cblanc/sws_gathers
This commit is contained in:
commit
2667561abe
1 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ StateMachine.create({
|
||||||
},
|
},
|
||||||
|
|
||||||
onenterelection: function () {
|
onenterelection: function () {
|
||||||
discordBot.notifyChannel("Gather is starting! Pick your captains! 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 got reseted! Rejoin to play");
|
discordBot.notifyChannel("@here Gather was reset! Rejoin to play!");
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue