issues
search
janesth
/
team_bot
A Discord bot to generated teams for a game tournament.
https://www.yoinc.ch
1
stars
1
forks
source link
Resolves #17
#19
Closed
Aatha-Sivas
closed
3 years ago
Aatha-Sivas
commented
3 years ago
Parts of code added from feature/12 branch (see #16)
Added Match Result Logic
Added new global variables:
loserPlayers
winnerPlayers
Added new slash commands "/result" and "/correctresult"
Added case 17 and case 18 to "onMessageReceived"
Added new methods "handleResult", "handleCorrectResult", "isGrandFinal", "isNumeric" and "printRoundEndStatus"
Added additional initialization to "handleSetup" and "handleStart" to support a start of a new round without losing "claimedAccounts"
Added logic to delete players, who lost, from "claimedAccounts" in "handleStart"
Added comment "DEBUG" to line 141 and 209