1
0
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:
MatteZ02
2020-03-12 23:07:44 +02:00
parent dd2f33873b
commit e15e81d9fe
13 changed files with 68 additions and 32 deletions

View File

@ -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]}\``);
}