Skip to content

Commit

Permalink
Fixing avatar checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikey committed Jan 2, 2025
1 parent 84118ba commit 6925245
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/iterate_prc_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ async def process_player_logs(bot, settings, guild_id, player_logs, last_timesta
embeds.append(embed)

if new_join_ids and settings.get('ERLC', {}).get('avatar_check', {}).get('channel'):
enabled = settings.get('ERLC', {}).get('avatar_check', {}).get("enabled", True)
if not enabled:
return

async with aiohttp.ClientSession() as session:
try:
async with session.post(
Expand Down

0 comments on commit 6925245

Please sign in to comment.