mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55: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
|
@ -83,7 +83,7 @@ export async function actualKickMemberCmd(
|
|||
|
||||
try {
|
||||
await memberToKick.ban(1, encodeURIComponent("kick -clean"));
|
||||
} catch (e) {
|
||||
} catch {
|
||||
sendErrorMessage(pluginData, msg.channel, "Failed to ban the user to clean messages (-clean)");
|
||||
}
|
||||
|
||||
|
@ -92,7 +92,7 @@ export async function actualKickMemberCmd(
|
|||
|
||||
try {
|
||||
await pluginData.guild.unbanMember(memberToKick.id, encodeURIComponent("kick -clean"));
|
||||
} catch (e) {
|
||||
} catch {
|
||||
sendErrorMessage(pluginData, msg.channel, "Failed to unban the user after banning them (-clean)");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue