From ccd8a4cda67e56f3e944c32c5e7cca622c8c6d3d Mon Sep 17 00:00:00 2001 From: Supositware Date: Tue, 12 Feb 2019 13:13:03 +0100 Subject: [PATCH] Forgot to use var "a" and dosen't get stuck in while loop anymore --- commands/general/reddit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/general/reddit.js b/commands/general/reddit.js index 314f4e0..a3b595c 100644 --- a/commands/general/reddit.js +++ b/commands/general/reddit.js @@ -25,7 +25,7 @@ class RedditCommand extends Command { async exec(message, args) { let sub = args.sub; let i = 0; - let a; + let a = 0; if (!sub) return;