woo yeah grammar fix
This commit is contained in:
parent
cced79a354
commit
32b141fbcf
1 changed files with 2 additions and 3 deletions
|
@ -24,9 +24,8 @@ module.exports = async (client, message) => {
|
||||||
|
|
||||||
if (level < client.levelCache[cmd.conf.permLevel]) {
|
if (level < client.levelCache[cmd.conf.permLevel]) {
|
||||||
if (settings.systemNotice === "true") {
|
if (settings.systemNotice === "true") {
|
||||||
return message.channel.send(`You do not have permission to use this command.
|
message.delete();
|
||||||
Your permission level is **${level}** (${client.config.permLevels.find(l => l.level === level).name})
|
return message.channel.send(`${message.author}, you do not have the right permissions to use this command.\nYour current permission level is **${level}** (${client.config.permLevels.find(l => l.level === level).name}), and this command requires permission level **${client.levelCache[cmd.conf.permLevel]}** (${cmd.conf.permLevel})`);
|
||||||
This command requires level **${client.levelCache[cmd.conf.permLevel]}** (${cmd.conf.permLevel})`);
|
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue