mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-16 15:46:00 +00:00
Fix code to work on this decade 1/x
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
name: 'setpremium',
|
||||
async execute(message, args, client, Discord, prefix) {
|
||||
if (message.author.id !== client.config.devId) return;
|
||||
async execute(message, args, client, prefix) {
|
||||
//if (message.author.id !== client.config.devId) return;
|
||||
if (args[2]) {
|
||||
const guild = client.guilds.get(args[2]);
|
||||
if (!client.global.db.guilds[guild.id].premium) {
|
||||
@ -31,4 +31,4 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user