1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-20 01:21:56 +00:00

Update premium.ts

This commit is contained in:
MatteZ02 2020-04-19 23:26:31 +03:00
parent 7fc4576fb0
commit 2d55a3a8da

View File

@ -3,7 +3,8 @@ module.exports = {
async execute(msg, args, client) { async execute(msg, args, client) {
if (!args[2]) if (!args[2])
return msg.channel.send( 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) if (msg.member.id !== client.config.devId)
return msg.channel.send(client.messages.onlyDev); return msg.channel.send(client.messages.onlyDev);