debug(mutes): add guild id to recoverable plugin error 'mute role is above the bot'
This commit is contained in:
parent
0f465ffa2b
commit
9562f9d528
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
throw new RecoverablePluginError(ERRORS.MUTE_ROLE_ABOVE_ZEP, pluginData.guild.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue