Changed client.login to client.start.
This commit is contained in:
parent
14da5977b3
commit
c4b252d67e
|
@ -43,7 +43,7 @@ module.exports = class BotClient extends Client {
|
||||||
this.prefix = options.prefix;
|
this.prefix = options.prefix;
|
||||||
}
|
}
|
||||||
|
|
||||||
async login(token = this.token) {
|
async start(token = this.token) {
|
||||||
super.login(token);
|
super.login(token);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,4 @@ const BotClient = require('./Structures/BotClient');
|
||||||
const config = require('../config.json');
|
const config = require('../config.json');
|
||||||
|
|
||||||
const client = new BotClient(config);
|
const client = new BotClient(config);
|
||||||
client.login();
|
client.start();
|
||||||
|
|
Loading…
Reference in New Issue