From f058ed6aa1f7593c22e4a3f0c9dd2f4bbd0190dc Mon Sep 17 00:00:00 2001 From: Advaith Date: Sun, 18 Oct 2020 04:20:58 -0700 Subject: [PATCH] feat(APIGuildWidgetMember): add activity and use proper status type (#24) --- v8/payloads/guild.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v8/payloads/guild.ts b/v8/payloads/guild.ts index 4c5d6f53..7a644a7a 100644 --- a/v8/payloads/guild.ts +++ b/v8/payloads/guild.ts @@ -4,7 +4,7 @@ import type { APIChannel } from './channel'; import type { APIEmoji } from './emoji'; -import type { GatewayPresenceUpdate } from './gateway'; +import type { GatewayPresenceUpdate, PresenceUpdateStatus } from './gateway'; import type { APIRole } from './permissions'; import type { APIUser } from './user'; import type { GatewayVoiceState } from './voice'; @@ -204,7 +204,8 @@ export interface APIGuildWidgetMember { username: string; discriminator: string; avatar: string | null; - status: string; + status: PresenceUpdateStatus; + activity?: { name: string }; avatar_url: string; }