Fixing undefined client.developers in ready event

This commit is contained in:
Christer Warén 2020-03-12 01:06:29 +02:00
parent 0b29cad0ad
commit 44b35eee8c
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ require('dotenv/config');
module.exports = {
//credentials
token: "",
token: "Njg2NTIzNjgxMjkxMzcwNTA2.Xml8tQ.O0ph4OYBcOMKtnCcPRS4h6oYQrA",
//support
supportGuild: "https://discord.gg/rRA65Mn",

View File

@ -8,6 +8,7 @@ module.exports = {
console.log('We will bring you finnish radio to your discord server');
console.log('(c)2020 EximiaBots by Warén Media / Christer Warén & MatteZ02');
let client.developers = "";
let user = "";
for (i = 0; i < client.config.devId.length; i++) {
user = await client.users.fetch(client.config.devId[i]);