update 3.0.5

This commit is contained in:
MatteZ02 committed 2020-03-24 12:02:07 +02:00
1 parent 11cea679d1
commit e20d0e18e0
61 files changed
+81 -109

No files matched your search

-9
View File
@@ -1,9 +0,0 @@
module.exports = {
name: 'prefix',
async execute(msg, args, client) {
if (!args[2]) return msg.channel.send(`${client.messages.currentPrefix} \`${client.global.db.guilds[msg.guild.id].prefix}\``);
if (args[2].length > 5) return msg.channel.send(client.messages.prefixMaxLength);
client.global.db.guilds[msg.guild.id].prefix = args[2];
msg.channel.send(`${client.messages.prefixSet} \`${args[2]}\``);
}
};