diff --git a/src/Structures/BotClient.js b/src/Structures/BotClient.js index 6dc0361..521219e 100644 --- a/src/Structures/BotClient.js +++ b/src/Structures/BotClient.js @@ -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); } diff --git a/src/index.js b/src/index.js index ff14631..669f2a7 100644 --- a/src/index.js +++ b/src/index.js @@ -2,4 +2,4 @@ const BotClient = require('./Structures/BotClient'); const config = require('../config.json'); const client = new BotClient(config); -client.login(); +client.start();