Fixed reaction handling #287 #288

Merged
edraft merged 1 commits from 1.0.4 into master 2023-03-31 12:04:10 +02:00

View File

@ -32,9 +32,9 @@ class AutoRoleReactionHandler:
return
guild = self._bot.get_guild(payload.guild_id)
user = guild.get_member(payload.id)
user = guild.get_member(payload.user_id)
if user 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
if user.bot: