3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

chore: update wording of permission error for -mod (#172)

This commit is contained in:
vcokltfre 2021-04-02 14:43:52 +01:00 committed by GitHub
parent c5d68650a3
commit 2af168b8e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View file

@ -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;
}