refactor(*): remove unused exception variables (#193)
This commit is contained in:
parent
38ab38645b
commit
a4a7eb41b0
29 changed files with 35 additions and 35 deletions
|
@ -15,7 +15,7 @@ export async function moveMember(
|
|||
await modMember.edit({
|
||||
channelID: target.voiceState.channelID,
|
||||
});
|
||||
} catch (e) {
|
||||
} catch {
|
||||
sendErrorMessage(pluginData, errorChannel, "Failed to move you. Are you in a voice channel?");
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ export async function sendWhere(
|
|||
let invite: Invite;
|
||||
try {
|
||||
invite = await createOrReuseInvite(voice);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
sendErrorMessage(pluginData, channel, "Cannot create an invite to that channel!");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue