From d4b6fad79e042c9f0726695ed8b946ce07989491 Mon Sep 17 00:00:00 2001 From: CyberKnight007 Date: Wed, 2 Dec 2020 13:14:30 +0530 Subject: [PATCH] hahaha --- src/gateway/handlers/inviteDelete.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gateway/handlers/inviteDelete.ts b/src/gateway/handlers/inviteDelete.ts index 0726a88..f4f6836 100644 --- a/src/gateway/handlers/inviteDelete.ts +++ b/src/gateway/handlers/inviteDelete.ts @@ -8,7 +8,7 @@ export const inviteDelete: GatewayEventHandler = async ( gateway: Gateway, d: InviteDeletePayload ) => { - // @eslint-disable-next-line @typescript-eslint/no-non-null-assertion + //eslint-disable-next-line @typescript-eslint/no-non-null-assertion const guild: Guild | undefined = await gateway.client.guilds.get(d.guild_id!) // Weird case, shouldn't happen @@ -16,7 +16,7 @@ export const inviteDelete: GatewayEventHandler = async ( const cachedInvite = await guild.invites.get(d.code) const cachedChannel = await gateway.client.channels.get(d.channel_id) - // @eslint-disable-next-line @typescript-eslint/no-non-null-assertion + //eslint-disable-next-line @typescript-eslint/no-non-null-assertion const cachedGuild = await gateway.client.guilds.get(d.guild_id!) // TODO(DjDeveloperr): Make it support self-bots and make Guild not always defined