mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 23:05:04 +02:00
Change notPlayer to player (#39)
For some reason notPlayer would use the current player that said no, this might just be for me but i'm going to propose this change anyhow
This commit is contained in:
@@ -53,7 +53,7 @@ module.exports = class RussianRouletteCommand extends Command {
|
||||
`);
|
||||
const keepGoing = await verify(msg.channel, opponent.bot ? msg.author : notPlayer);
|
||||
if (!keepGoing) {
|
||||
winner = notPlayer;
|
||||
winner = player;
|
||||
quit = true;
|
||||
}
|
||||
round++;
|
||||
|
||||
Reference in New Issue
Block a user