diff --git a/.gitignore b/.gitignore index bc57a589..fe0fd9a6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ dev/ .env .vscode/ package-lock.json -src/struct/config/serviceAccount.json \ No newline at end of file +struct/config/serviceAccount.json \ No newline at end of file diff --git a/events/ready.js b/events/ready.js index 20a94007..9d67ea60 100644 --- a/events/ready.js +++ b/events/ready.js @@ -22,7 +22,7 @@ module.exports = { console.log('- DB Set -'); client.user.setActivity(`@${client.user.username} help | 🎶`, { type: 'LISTENING' }); client.user.setStatus('dnd'); - const dbl = new DBL(client.config.DBLTOKEN, client); + const dbl = new DBL(client.config.dblkey, client); if (client.config.dblApi && !client.config.devMode) { dbl.on('error', error => { console.log('Error with DBL: ' + error); diff --git a/struct/config/config.js b/struct/config/config.js index 8eaad531..43e085d8 100644 --- a/struct/config/config.js +++ b/struct/config/config.js @@ -13,7 +13,7 @@ module.exports = { devId: "360363051792203779", //misc embedColor: "#b50002", - invite: "https://discordapp.com/api/oauth2/authorize?client_id=649252971690983446&permissions=8&redirect_uri=https%3A%2F%2Fdiscordapp.com%2Foauth2%2Fauthorize%3Fclient_id%3D649252971690983446%26%3Bscope%3Dbot%26%3Bpermissions%3D0&scope=bot", + invite: "https://discordapp.com/api/oauth2/authorize?client_id=607266889537945605&permissions=3427328&redirect_uri=https%3A%2F%2Fdiscordapp.com%2Foauth2%2Fauthorize%3Fclient_id%3D607266889537945605%26%3Bscope%3Dbot%26%3Bpermissions%3D0&scope=bot", //Settings devMode: false, dblApi: false,