mirror of
https://gitlab.com/ceda_ei/Quadnite-Bot
synced 2026-05-06 05:40:04 +02:00
Don't reply if no question exists
This commit is contained in:
@@ -12,16 +12,16 @@ module.exports = (bot, [ questions, kys, insults, commands_list ]) => {
|
||||
bot.command("kys", (ctx) => ctx.reply(insults_fun(random, kys, default_text("kys", "kill"))(ctx)));
|
||||
|
||||
bot.command("commands", (ctx) => ctx.reply(commands_list.join("\n")));
|
||||
bot.command("is", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("are", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("can", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("will", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("shall", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("was", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("do", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("does", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("did", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("should", (ctx) => ctx.reply(is(random)));
|
||||
bot.command("is", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("are", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("can", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("will", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("shall", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("was", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("do", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("does", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("did", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("should", (ctx) => ctx.reply(is(random)(ctx)));
|
||||
bot.command("coin", (ctx) => ctx.reply(random(["Heads", "Tails"])()));
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user