Forgot to use var "a" and dosen't get stuck in while loop anymore

This commit is contained in:
Supositware 2019-02-12 13:13:03 +01:00
parent be99b7d165
commit ccd8a4cda6

View file

@ -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;