mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:00:18 +00:00
Fixing undefined client.developers in ready event
This commit is contained in:
parent
0b29cad0ad
commit
44b35eee8c
@ -3,7 +3,7 @@ require('dotenv/config');
|
||||
module.exports = {
|
||||
|
||||
//credentials
|
||||
token: "",
|
||||
token: "Njg2NTIzNjgxMjkxMzcwNTA2.Xml8tQ.O0ph4OYBcOMKtnCcPRS4h6oYQrA",
|
||||
|
||||
//support
|
||||
supportGuild: "https://discord.gg/rRA65Mn",
|
||||
|
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user