mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 08:45:03 +00:00
refactor(*): remove unused exception variables (#193)
This commit is contained in:
parent
4f5f196f0a
commit
2a8aac34c7
29 changed files with 35 additions and 35 deletions
|
@ -50,7 +50,7 @@ export const UnbanCmd = modActionsCmd({
|
|||
try {
|
||||
ignoreEvent(pluginData, IgnoredEventType.Unban, user.id);
|
||||
await pluginData.guild.unbanMember(user.id, reason != null ? encodeURIComponent(reason) : undefined);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
sendErrorMessage(pluginData, msg.channel, "Failed to unban member; are you sure they're banned?");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue