Convert spaces to tabs
This commit is contained in:
parent
4576eec78a
commit
db04c07c60
17 changed files with 327 additions and 327 deletions
|
@ -2,19 +2,19 @@ const parseMention = require("../util/parseMention");
|
|||
const setServerPrefix = require("../util/setServerPrefix");
|
||||
|
||||
module.exports = {
|
||||
name: 'prefix',
|
||||
description: 'Change the prefix of the bot in this server.',
|
||||
execute({ message, client, args, prefix }) {
|
||||
if (!message.member.hasPermission('MANAGE_GUILD')) {
|
||||
message.channel.send("You do not have sufficient permissions(MANAGE_GUILD) to change the prefix of this server.")
|
||||
return;
|
||||
}
|
||||
if (!args[0]) {
|
||||
message.channel.send(`To change the prefix, execute \`${prefix}prefix <newPrefix>\``);
|
||||
return;
|
||||
}else{
|
||||
setServerPrefix(client, args[0], message.guild.id)
|
||||
message.channel.send(`The prefix for this server is now set to ${args[0]}`)
|
||||
}
|
||||
}
|
||||
name: 'prefix',
|
||||
description: 'Change the prefix of the bot in this server.',
|
||||
execute({ message, client, args, prefix }) {
|
||||
if (!message.member.hasPermission('MANAGE_GUILD')) {
|
||||
message.channel.send("You do not have sufficient permissions(MANAGE_GUILD) to change the prefix of this server.")
|
||||
return;
|
||||
}
|
||||
if (!args[0]) {
|
||||
message.channel.send(`To change the prefix, execute \`${prefix}prefix <newPrefix>\``);
|
||||
return;
|
||||
}else{
|
||||
setServerPrefix(client, args[0], message.guild.id)
|
||||
message.channel.send(`The prefix for this server is now set to ${args[0]}`)
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue