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:
parent
09125956a0
commit
673ec7b09a
19 changed files with 35 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue