mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
9 lines
379 B
JavaScript
9 lines
379 B
JavaScript
module.exports = {
|
|
name: 'prefix',
|
|
async execute(message, args, client, prefix) {
|
|
if (!args[2]) return message.channel.send(`Current prefix: \`${client.global.db.guilds[message.guild.id].prefix}\``);
|
|
client.global.db.guilds[message.guild.id].prefix = args[2];
|
|
message.channel.send(`:white_check_mark: New prefix set to: \`${args[2]}\``);
|
|
}
|
|
};
|