3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

chore: resolve eslint issues

This commit is contained in:
Dragory 2021-11-03 16:59:08 +02:00
parent 09125956a0
commit 673ec7b09a
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
19 changed files with 35 additions and 2 deletions

View file

@ -35,6 +35,7 @@ export async function getOrCreateWebhookForChannel(
});
return [webhook.id, webhook.token!];
} catch (err) {
// tslint:disable-next-line:no-console
console.warn(`Error when trying to create webhook for ${pluginData.guild.id}/${channel.id}: ${err.message}`);
if (isDiscordAPIError(err) && err.code === 50013) {