mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 06:45:31 +02:00
Poop
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = class HangmanCommand extends Command {
|
||||
}
|
||||
|
||||
async run(msg) {
|
||||
if (this.playing.includes(msg.guild.id)) return msg.say('Only one game may be occurring per server.');
|
||||
if (this.playing.has(msg.guild.id)) return msg.say('Only one game may be occurring per server.');
|
||||
this.playing.add(msg.guild.id);
|
||||
const word = words[Math.floor(Math.random() * words.length)];
|
||||
let points = 0;
|
||||
|
||||
Reference in New Issue
Block a user