mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-17 01:16:00 +00:00
Moved rest of the messages to messages file
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
name: 'prefix',
|
||||
async execute(msg, args, client, Discord, prefix) {
|
||||
if (!args[2]) return msg.channel.send(`Current prefix: \`${client.global.db.guilds[msg.guild.id].prefix}\``);
|
||||
if (!args[2]) return msg.channel.send(`${client.messages.currentPrefix} \`${client.global.db.guilds[msg.guild.id].prefix}\``);
|
||||
client.global.db.guilds[msg.guild.id].prefix = args[2];
|
||||
msg.channel.send(`${client.messages.prefixSet} \`${args[2]}\``);
|
||||
}
|
||||
|
Reference in New Issue
Block a user