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