From 44b35eee8cecd8daacc752cea4932ea1da5a1165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 12 Mar 2020 01:06:29 +0200 Subject: [PATCH] Fixing undefined client.developers in ready event --- config.js | 2 +- events/ready.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.js b/config.js index 03429ec..0bd2a47 100644 --- a/config.js +++ b/config.js @@ -3,7 +3,7 @@ require('dotenv/config'); module.exports = { //credentials - token: "", + token: "Njg2NTIzNjgxMjkxMzcwNTA2.Xml8tQ.O0ph4OYBcOMKtnCcPRS4h6oYQrA", //support supportGuild: "https://discord.gg/rRA65Mn", diff --git a/events/ready.js b/events/ready.js index e04cce3..d4e7df6 100644 --- a/events/ready.js +++ b/events/ready.js @@ -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]);