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:
parent
38ab38645b
commit
a4a7eb41b0
29 changed files with 35 additions and 35 deletions
|
@ -17,7 +17,7 @@ export async function disableBotSlowmodeForChannel(
|
|||
for (const slowmodeUser of users) {
|
||||
try {
|
||||
await clearBotSlowmodeFromUserId(pluginData, channel, slowmodeUser.user_id);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// Removing the slowmode failed. Record this so the permissions can be changed manually, and remove the database entry.
|
||||
failedUsers.push(slowmodeUser.user_id);
|
||||
await pluginData.state.slowmodes.clearSlowmodeUser(channel.id, slowmodeUser.user_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue