Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Nov 16, 2023
1 parent f984cc4 commit 893dc2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const createUserStateItem = (payload: VoiceStateUser) => {
const data = {
username: payload.nick,
avatarHash: payload.user.avatar,
avatarDecorationData: payload.user.avatar_decoration_data,
muted: payload.mute,
deafened: payload.voice_state.deaf, // Probably only bots can deafen themselves
selfDeafened: payload.voice_state.self_deaf,
Expand Down
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export interface OverlayedUser {
*/
avatarHash: string;

avatarDecorationData: any;

/**
* @property {boolean} talking - flag to indicate if the user is talking
*/
Expand Down

0 comments on commit 893dc2c

Please sign in to comment.