mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 13:03:18 +00:00
8 lines
387 B
JavaScript
8 lines
387 B
JavaScript
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}\``);
|
|
client.global.db.guilds[msg.guild.id].prefix = args[2];
|
|
msg.channel.send(`<:green_check_mark:674265384777416705> New prefix set to: \`${args[2]}\``);
|
|
}
|
|
}; |