mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 04:20:49 +00:00
3.2 fixes and improvements
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
module.exports = {
|
||||
name: "premium",
|
||||
async execute(msg, args, client) {
|
||||
if (msg.member.id !== client.config.devId)
|
||||
return msg.channel.send(client.messages.onlyDev);
|
||||
if (!args[2])
|
||||
return msg.channel.send(
|
||||
`${client.messages.correctUsage} ${client.messages.premiumUsage}`
|
||||
client.messages.premiumState + client.global.db.guilds[args[2]].premium
|
||||
);
|
||||
if (msg.member.id !== client.config.devId)
|
||||
return msg.channel.send(client.messages.onlyDev);
|
||||
if (client.global.db.guilds[args[2]].premium === false) {
|
||||
client.global.db.guilds[args[2]].premium = true;
|
||||
let message;
|
||||
|
6
src/commands/settings/setKey.ts
Normal file
6
src/commands/settings/setKey.ts
Normal file
@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
name: "setkey",
|
||||
async execute(msg, args, client) {
|
||||
msg.channel.send(client.messages.setKeyUsage);
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user