Forgot to use var "a" and dosen't get stuck in while loop anymore
This commit is contained in:
parent
be99b7d165
commit
ccd8a4cda6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue