Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
do not return user avatar hash if member avatar hash is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
lemm-e committed Apr 9, 2022
1 parent 83e8bae commit 3326871
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,6 @@ func (ms *MemberState) DgoMember() *discordgo.Member {
m.JoinedAt = ms.Member.JoinedAt
}

if m.Avatar == "" {
m.Avatar = m.User.Avatar
}

return m
}

Expand Down

0 comments on commit 3326871

Please sign in to comment.