mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
Fixed mistake that made REST calls we know will fail on forcemute/unmute
This commit is contained in:
parent
b66c86fa3f
commit
a7d308a8d8
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