Button-based join game

This commit is contained in:
Dragon Fire
2021-08-02 18:04:56 -04:00
parent 8c96c1c4f1
commit c2e1e97c4c
3 changed files with 53 additions and 39 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = class AkinatorCommand extends Command {
}
async run(msg, { region }) {
const aki = new Aki(region, !msg.channel.nsfw);
const aki = new Aki({ region, childMode: !msg.channel.nsfw });
let ans = null;
let win = false;
let timesGuessed = 0;