refactor(*): remove unused exception variables (#193)
This commit is contained in:
parent
38ab38645b
commit
a4a7eb41b0
29 changed files with 35 additions and 35 deletions
|
@ -82,7 +82,7 @@ export const RoleAddCmd = selfGrantableRolesCmd({
|
|||
await msg.member.edit({
|
||||
roles: Array.from(newRoleIds),
|
||||
});
|
||||
} catch (e) {
|
||||
} catch {
|
||||
sendErrorMessage(
|
||||
pluginData,
|
||||
msg.channel,
|
||||
|
|
|
@ -56,7 +56,7 @@ export const RoleRemoveCmd = selfGrantableRolesCmd({
|
|||
`<@!${msg.author.id}> Removed ${removedRolesStr.join(", ")} ${removedRolesWord}`,
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
sendSuccessMessage(
|
||||
pluginData,
|
||||
msg.channel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue