mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
Update premium.ts
This commit is contained in:
parent
7fc4576fb0
commit
2d55a3a8da
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user