Skip to content

Commit

Permalink
Site: Fix finding discord member
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson authored Oct 8, 2024
1 parent 929e31f commit 1c7c449
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dojo_plugin/utils/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ def get_discord_member(user_id):
discord_user = DiscordUsers.query.filter_by(user_id=user_id).first()
if not discord_user:
return None


@cache.memoize(timeout=3600)
def get_discord_member_by_discord_id(discord_id):
try:
result = guild_request(f"/members/{discord_id}")
except requests.exceptions.RequestException:
Expand Down

0 comments on commit 1c7c449

Please sign in to comment.