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

fix(mutes): whoops

This commit is contained in:
Dragory 2021-10-17 11:37:59 +03:00
parent f18962715e
commit 25b4ab5018

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