mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix weird bug
This commit is contained in:
@@ -57,12 +57,7 @@ module.exports = class LieSwatterCommand extends Command {
|
||||
++turn;
|
||||
const question = questions[0];
|
||||
questions.shift();
|
||||
await msg.say(stripIndents`
|
||||
**${turn}. ${question.category}**
|
||||
${question.question.trim()}
|
||||
|
||||
_Is it True or is it a Lie?_
|
||||
`);
|
||||
await msg.say(`**${turn}. ${question.category}** ${question.question.trim()}\n_Is it True or is it a Lie?_`);
|
||||
const filter = res => {
|
||||
if (!awaitedPlayers.includes(res.author.id)) return false;
|
||||
const answer = res.content.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user