mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
Changed client.login to client.start.
This commit is contained in:
parent
14da5977b3
commit
c4b252d67e
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ module.exports = class BotClient extends Client {
|
|||
this.prefix = options.prefix;
|
||||
}
|
||||
|
||||
async login(token = this.token) {
|
||||
async start(token = this.token) {
|
||||
super.login(token);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@ const BotClient = require('./Structures/BotClient');
|
|||
const config = require('../config.json');
|
||||
|
||||
const client = new BotClient(config);
|
||||
client.login();
|
||||
client.start();
|
||||
|
|
Loading…
Reference in a new issue