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

refactor(*): remove unused exception variables (#193)

This commit is contained in:
Almeida 2021-05-06 19:23:47 +01:00 committed by GitHub
parent 38ab38645b
commit a4a7eb41b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 35 additions and 35 deletions

View file

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