Fixed reaction handling #287 #288
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user