Skip to content

Commit

Permalink
Skip avatar checks if avatar hash cannot be fetched
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Dec 30, 2023
1 parent 38fdad6 commit 9030e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helpers/ScamHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static async Task<bool> CheckAvatarsAsync(DiscordMember member)
string usedHash;
string usedUrl;

if (member.GuildAvatarHash is null && member.AvatarHash is null)
if (member.AvatarHash is null)
return false;

// turns out checking guild avatars isn't important
Expand Down

0 comments on commit 9030e0a

Please sign in to comment.