Changed let to const and added login method back

This commit is contained in:
plane000
2018-10-28 22:32:16 +00:00
parent f23727c46e
commit 049405cce8

View File

@@ -6,7 +6,7 @@ import { rejects } from 'assert';
export class Events { // extends rate limits export class Events { // extends rate limits
async init(client) { async init(client) {
this.client = client; this.client = client;
// this.client.login(Config.Token); this.client.login(Config.Token);
} }
async handleEvents() { async handleEvents() {
@@ -29,7 +29,7 @@ export class Events { // extends rate limits
return; return;
} }
let next = function() { const next = function() {
doNext = true; doNext = true;
} }