From a11df8f7df70a79697fc2d6d7639bfc9a5081a7c Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Sat, 22 Aug 2020 21:53:08 +0300 Subject: [PATCH] chore: fix actions reported errors --- .github/workflows/codequality.yml | 2 +- v6/gateway/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codequality.yml b/.github/workflows/codequality.yml index 3513092b..0449081c 100644 --- a/.github/workflows/codequality.yml +++ b/.github/workflows/codequality.yml @@ -31,7 +31,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - custom-glob: 'v*/** default/** common/**' + custom-glob: '{v,default,common}*/**' TypeScript: name: TypeScript diff --git a/v6/gateway/index.ts b/v6/gateway/index.ts index f5811247..aa5c2194 100644 --- a/v6/gateway/index.ts +++ b/v6/gateway/index.ts @@ -147,7 +147,7 @@ export enum GatewayDispatchEvents { WebhooksUpdate = 'WEBHOOKS_UPDATE', } -export type GatewaySendPayload = GatewayHeartbeat | GatewayIdentify | GatewayPresenceUpdate | GatewayVoiceStateUpdate | GatewayResume | GatewayRequestGuildMembers; +export type GatewaySendPayload = GatewayHeartbeat | GatewayIdentify | GatewayUpdatePresence | GatewayVoiceStateUpdate | GatewayResume | GatewayRequestGuildMembers; export type GatewayReceivePayload = GatewayHello | GatewayHeartbeatRequest | GatewayHeartbeatAck | GatewayInvalidSession | GatewayReconnect | GatewayDispatchPayload; @@ -563,7 +563,7 @@ export interface GatewayVoiceStateUpdate { /** * https://discord.com/developers/docs/topics/gateway#update-status */ -export interface GatewayPresenceUpdate { +export interface GatewayUpdatePresence { op: GatewayOPCodes.PresenceUpdate; d: GatewayPresenceUpdateData; }