3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-14 05:57:18 +00:00

chore: update wording of permission error for -mod

This commit is contained in:
vcokltfre 2021-03-19 13:23:23 +00:00
parent 7f75d6d8d3
commit 026d7a5431
8 changed files with 8 additions and 8 deletions

View file

@ -54,7 +54,7 @@ export const ForcebanCmd = modActionsCmd({
let mod = msg.member;
if (args.mod) {
if (!hasPermission(pluginData, "can_act_as_other", { message: msg })) {
sendErrorMessage(pluginData, msg.channel, "No permission for -mod");
sendErrorMessage(pluginData, msg.channel, "You don't have permission to use -mod");
return;
}