Changed client.login to client.start.

This commit is contained in:
Keanu Timmermans 2020-06-01 11:38:15 +02:00
parent 14da5977b3
commit c4b252d67e
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -2,4 +2,4 @@ const BotClient = require('./Structures/BotClient');
const config = require('../config.json');
const client = new BotClient(config);
client.login();
client.start();