From 03516e4074e41ac1e5c996e73254982d9ee41dbd Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sun, 19 Apr 2020 20:34:38 +0300 Subject: [PATCH] REEEEEEE --- src/events/clientEvents/ready.ts | 1 + src/struct/config/messages.ts | 2 +- src/struct/funcs/checkDB.ts | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/events/clientEvents/ready.ts b/src/events/clientEvents/ready.ts index 13fcd141..93c3b118 100644 --- a/src/events/clientEvents/ready.ts +++ b/src/events/clientEvents/ready.ts @@ -22,6 +22,7 @@ module.exports = { startPlaying: client.config.startPlaying, bass: client.config.bass, blacklist: [], + premium: true, }; }); } diff --git a/src/struct/config/messages.ts b/src/struct/config/messages.ts index 9f463c24..8b5fdc13 100644 --- a/src/struct/config/messages.ts +++ b/src/struct/config/messages.ts @@ -150,7 +150,7 @@ module.exports = { prefixHere: "My prefix here is: ", prefixMaxLength: "The prefix must be shorter or equal to 5 letters!", prefixSet: emojis.green_check_mark + "New prefix set to:", - premiumUsage: emojis.redx + "`settings premium `", + premiumUsage: "`settings premium `", provideANumber: "Please provide a number ranging from 1-10 to select one of the search results.", provideASong: diff --git a/src/struct/funcs/checkDB.ts b/src/struct/funcs/checkDB.ts index cac377fe..b962062b 100644 --- a/src/struct/funcs/checkDB.ts +++ b/src/struct/funcs/checkDB.ts @@ -18,5 +18,7 @@ module.exports = async function (client) { client.global.db.guilds[guild.id].bass = client.config.bass; if (client.global.db.guilds[guild.id].blacklsit === undefined) client.global.db.guilds[guild.id].blacklist = []; + if (client.global.db.guilds[guild.id].premium === undefined) + client.global.db.guilds[guild.id].premium = false; }); };