3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-22 01:05: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 4f5f196f0a
commit 2a8aac34c7
29 changed files with 35 additions and 35 deletions

View file

@ -82,7 +82,7 @@ export const RoleAddCmd = selfGrantableRolesCmd({
await msg.member.edit({
roles: Array.from(newRoleIds),
});
} catch (e) {
} catch {
sendErrorMessage(
pluginData,
msg.channel,

View file

@ -56,7 +56,7 @@ export const RoleRemoveCmd = selfGrantableRolesCmd({
`<@!${msg.author.id}> Removed ${removedRolesStr.join(", ")} ${removedRolesWord}`,
);
}
} catch (e) {
} catch {
sendSuccessMessage(
pluginData,
msg.channel,