Achievement VoiceStateUpdate error #353

Closed
opened 2023-08-21 18:42:06 +02:00 by edraft · 0 comments
Owner

<2023-08-21 15:52:58.967300> [ ERROR ] [ cpl_discord.service.discord_service ]: 'Member' object has no attribute 'author' -> Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/cpl_discord/service/discord_service.py", line 96, in _handle_event
await func(*args, **kwargs)
File "/app/modules/achievements/events/achievement_on_voice_state_update_event.py", line 43, in on_voice_state_update
if member.author.bot:
AttributeError: 'Member' object has no attribute 'author'

<2023-08-21 15:52:58.967300> [ ERROR ] [ cpl_discord.service.discord_service ]: 'Member' object has no attribute 'author' -> Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/cpl_discord/service/discord_service.py", line 96, in _handle_event await func(*args, **kwargs) File "/app/modules/achievements/events/achievement_on_voice_state_update_event.py", line 43, in on_voice_state_update if member.author.bot: AttributeError: 'Member' object has no attribute 'author'
edraft added this to the Support milestone 2023-08-21 18:42:06 +02:00
edraft added the
bug
label 2023-08-21 18:42:06 +02:00
edraft self-assigned this 2023-08-21 18:42:06 +02:00
edraft added this to the Support project 2023-08-21 18:42:06 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sh-edraft.de/sh_discord_bot#353
No description provided.