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; }