mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Bugs
This commit is contained in:
@@ -63,7 +63,7 @@ module.exports = class AkinatorCommand extends Command {
|
||||
return msg.say(response === 'yes' ? 'Another win for me!' : 'Bravo, you have defeated me.');
|
||||
} catch (err) {
|
||||
this.sessions.delete(msg.channel.id);
|
||||
throw err;
|
||||
return msg.say(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@ module.exports = class BattleCommand extends Command {
|
||||
});
|
||||
if (!turn.size) {
|
||||
await msg.say('Time!');
|
||||
reset();
|
||||
continue;
|
||||
}
|
||||
choice = turn.first().content.toLowerCase();
|
||||
|
||||
@@ -56,6 +56,7 @@ module.exports = class TicTacToeCommand extends Command {
|
||||
});
|
||||
if (!turn.size) {
|
||||
await msg.say('Time!');
|
||||
userTurn = !userTurn;
|
||||
continue;
|
||||
}
|
||||
const choice = turn.first().content.toLowerCase();
|
||||
|
||||
@@ -10,7 +10,8 @@ module.exports = class WhosThatPokemonCommand extends Command {
|
||||
aliases: ['who-pokemon', 'whos-that-pokémon', 'who-pokémon'],
|
||||
group: 'games',
|
||||
memberName: 'whos-that-pokemon',
|
||||
description: 'Guess who that Pokémon is.'
|
||||
description: 'Guess who that Pokémon is.',
|
||||
clientPermissions: ['EMBED_LINKS']
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user