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

Fixed mistake that made REST calls we know will fail on forcemute/unmute

This commit is contained in:
Dark 2020-07-31 19:31:36 +02:00
parent b2957b564d
commit 532041ad0d
3 changed files with 12 additions and 5 deletions

View file

@ -46,7 +46,7 @@ export const UnmuteCmd = modActionsCommand({
}
if (!memberToUnmute) {
const banned = await isBanned(pluginData, memberToUnmute.id);
const banned = await isBanned(pluginData, user.id);
const prefix = pluginData.guildConfig.prefix;
if (banned) {
sendErrorMessage(