From 4642ed1bc87c74986da5f77d35707d8dc8615929 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sat, 25 Apr 2020 19:27:39 +0300 Subject: [PATCH] Update ready.js --- src/events/clientEvents/ready.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/clientEvents/ready.js b/src/events/clientEvents/ready.js index 661a99f5..82487f1c 100644 --- a/src/events/clientEvents/ready.js +++ b/src/events/clientEvents/ready.js @@ -28,7 +28,7 @@ module.exports = { client.user.setActivity(`@${client.user.username} help | 🎶`, { type: "LISTENING", }); - if (client.config.dblApi && !client.config.devMode) client.funcs.botListApi(client); + if (client.config.api && !client.config.devMode) client.funcs.botListApi(client); client.user.setStatus("online"); client.funcs.getSpotifyKey(client); console.log(`- Activated - Shard: ${client.shard.ids} -`);