fix 8ball

This commit is contained in:
JonnyBro 2021-12-21 11:11:38 +05:00
parent f4c37f2138
commit 1c17db9a5c

View file

@ -22,7 +22,7 @@ class Eightball extends Command {
const answerNO = parseInt(Math.floor(Math.random() * 10), 10); const answerNO = parseInt(Math.floor(Math.random() * 10), 10);
const answer = message.translate(`fun/8ball:RESPONSE_${answerNO + 1}`); const answer = message.translate(`fun/8ball:RESPONSE_${answerNO + 1}`);
message.channel.send(`<@${message.author.username}>, ${answer}`); message.channel.send(`<@${message.author.id}>, ${answer}`);
} }
}; };