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

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