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:
parent
b2957b564d
commit
532041ad0d
3 changed files with 12 additions and 5 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue