mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
chore: update wording of permission error for -mod (#172)
This commit is contained in:
parent
eb7ac72cd4
commit
50b37ab9dd
8 changed files with 8 additions and 8 deletions
|
@ -57,7 +57,7 @@ export const WarnCmd = modActionsCmd({
|
|||
let mod = msg.member;
|
||||
if (args.mod) {
|
||||
if (!hasPermission(pluginData, "can_act_as_other", { message: msg })) {
|
||||
msg.channel.createMessage(errorMessage("No permission for -mod"));
|
||||
msg.channel.createMessage(errorMessage("You don't have permission to use -mod"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue