One more error handler
This commit is contained in:
parent
88ef475339
commit
8ecdf45fa7
@ -303,7 +303,10 @@ class ReactRestrict(Cog):
|
||||
return
|
||||
|
||||
message = await self._get_message_from_channel(channel_id, message_id)
|
||||
try:
|
||||
await message.remove_reaction(emoji, member)
|
||||
except (discord.Forbidden, discord.NotFound, discord.HTTPException):
|
||||
log.exception("Unable to remove reaction")
|
||||
|
||||
# try:
|
||||
# await member.add_roles(*roles)
|
||||
|
Loading…
x
Reference in New Issue
Block a user