Skip to content

Commit

Permalink
feat(APIGuildWidgetMember): add activity and use proper status type (#24
Browse files Browse the repository at this point in the history
)
  • Loading branch information
advaith1 committed Oct 18, 2020
1 parent 0982610 commit f058ed6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions v8/payloads/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -204,7 +204,8 @@ export interface APIGuildWidgetMember {
username: string;
discriminator: string;
avatar: string | null;
status: string;
status: PresenceUpdateStatus;
activity?: { name: string };
avatar_url: string;
}

Expand Down

0 comments on commit f058ed6

Please sign in to comment.