mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
Support Child Mode in Akinator
This commit is contained in:
@@ -38,7 +38,7 @@ module.exports = class AkinatorCommand extends Command {
|
||||
const current = this.client.games.get(msg.channel.id);
|
||||
if (current) return msg.reply(`Please wait until the current game of \`${current.name}\` is finished.`);
|
||||
try {
|
||||
const aki = new Aki(region);
|
||||
const aki = new Aki(region, !msg.channel.nsfw);
|
||||
let ans = null;
|
||||
let win = false;
|
||||
let timesGuessed = 0;
|
||||
|
||||
Reference in New Issue
Block a user