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) {
|
async exec(message, args) {
|
||||||
let sub = args.sub;
|
let sub = args.sub;
|
||||||
let i = 0;
|
let i = 0;
|
||||||
let a;
|
let a = 0;
|
||||||
if (!sub)
|
if (!sub)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue