mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
8 lines
375 B
JavaScript
8 lines
375 B
JavaScript
module.exports = {
|
|
name: 'prefix',
|
|
async execute(msg, args, client, Discord, 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]}\``);
|
|
}
|
|
}; |