From afbf9c4d5f3e71681322b91316c08da0e60176ca Mon Sep 17 00:00:00 2001 From: CyberKnight007 Date: Wed, 2 Dec 2020 13:19:58 +0530 Subject: [PATCH] -_- --- 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 f4f6836..8e77d13 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