From 146e22d281d26cb271cef6aff36b5830be6caff1 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Wed, 18 Sep 2024 09:20:35 +0200 Subject: [PATCH] Fix ask command not splitting all 'or's correctly --- commands/misc/ask.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/misc/ask.js b/commands/misc/ask.js index a487084..006c633 100644 --- a/commands/misc/ask.js +++ b/commands/misc/ask.js @@ -6,7 +6,7 @@ module.exports = { execute({message, args}) { let answer = ""; if(args.length > 2 && args.includes("or")){ - let question = args.join(" ").split("or "); + let question = args.join(" ").split(" or "); answer = question[randomNumber(0, question.length -1)]; } if(answer === "")