fix(mutes): whoops

This commit is contained in:
Dragory 2021-10-17 11:37:59 +03:00
parent 9180be75b7
commit 86b01f2991
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -118,7 +118,7 @@ export async function muteUser(
logs.logBotAlert({
body: `Cannot mute users, specified mute role is above Zeppelin in the role hierarchy`,
});
throw new RecoverablePluginError(ERRORS.MUTE_ROLE_ABOVE_ZEP, pluginData.guild.id);
throw new RecoverablePluginError(ERRORS.MUTE_ROLE_ABOVE_ZEP, pluginData.guild);
}
}
}