mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35: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
|
@ -30,7 +30,7 @@ export async function clearExpiredMutes(pluginData: GuildPluginData<MutesPluginT
|
|||
}
|
||||
|
||||
lock.unlock();
|
||||
} catch (e) {
|
||||
} catch {
|
||||
pluginData.state.serverLogs.log(LogType.BOT_ALERT, {
|
||||
body: `Failed to remove mute role from {userMention(member)}`,
|
||||
member: stripObjectToScalars(member),
|
||||
|
|
|
@ -126,7 +126,7 @@ export async function muteUser(
|
|||
// TODO: Add back the voiceState check once we figure out how to get voice state for guild members that are loaded on-demand
|
||||
try {
|
||||
await member.edit({ channelID: moveToVoiceChannel });
|
||||
} catch (e) {} // tslint:disable-line
|
||||
} catch {} // tslint:disable-line
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue