Fixed reaction handling #279 #280

Merged
edraft merged 1 commits from #279 into 1.0.1 2023-03-29 14:53:50 +02:00
Showing only changes of commit da02aca7e4 - Show all commits

View File

@ -36,9 +36,9 @@ class BaseReactionHandler:
self._logger.trace(__name__, f"Handle reaction {payload} {r_type}")
guild = self._bot.get_guild(payload.guild_id)
member = guild.get_member(payload.id)
member = guild.get_member(payload.user_id)
if member is None:
self._logger.warn(__name__, f"User {payload.id} in {guild.name} not found - skipping")
self._logger.warn(__name__, f"User {payload.user_id} in {guild.name} not found - skipping")
return
try: