From 2d55a3a8da0098825d5c02a6773735d936027693 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sun, 19 Apr 2020 23:26:31 +0300 Subject: [PATCH] Update premium.ts --- src/commands/settings/premium.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/settings/premium.ts b/src/commands/settings/premium.ts index 07743ac3..e0744044 100644 --- a/src/commands/settings/premium.ts +++ b/src/commands/settings/premium.ts @@ -3,7 +3,8 @@ module.exports = { async execute(msg, args, client) { if (!args[2]) return msg.channel.send( - client.messages.premiumState + client.global.db.guilds[args[2]].premium + client.messages.premiumState + + client.global.db.guilds[msg.guild.id].premium ); if (msg.member.id !== client.config.devId) return msg.channel.send(client.messages.onlyDev);