From e618f14302111c36d4d9f281df1707a85f304e2c Mon Sep 17 00:00:00 2001 From: Alex Brow Date: Sun, 23 Feb 2020 22:12:59 -0500 Subject: [PATCH] matbe this will work --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 0fc3165..9cb2dc9 100755 --- a/src/index.js +++ b/src/index.js @@ -288,8 +288,8 @@ client.on("message", async message => { ' i forgot', ' Asia is a continent' ] - return message.channerel.send(quotes[Math.floor(Math.random() * (max - min) + min)]) //The maximum is exclusive and the minimum is inclusive - + let number = Math.floor(Math.random() * (max - min) + min)]) //The maximum is exclusive and the minimum is inclusive + return message.channerel.send(quotes[number]) } });