mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix grammar
This commit is contained in:
@@ -58,7 +58,7 @@ module.exports = class PickANumberCommand extends Command {
|
||||
if (opponent.bot) {
|
||||
const valid = nums.filter(num => num !== player1Pick);
|
||||
player2Pick = valid[Math.floor(Math.random() * valid.length)];
|
||||
await msg.say(`Okay, ${clientOpp ? 'I' : `${opponent}`} pick${clientOpp ? 's' : ''} ${player2Pick}!`);
|
||||
await msg.say(`Okay, ${clientOpp ? 'I' : `${opponent}`} pick${clientOpp ? '' : 's'} ${player2Pick}!`);
|
||||
} else {
|
||||
userTurn = false;
|
||||
await msg.say(`${opponent}, pick a number from 1 to 10, except ${player1Pick}.`);
|
||||
|
||||
Reference in New Issue
Block a user