Fixed add xp to author of reacted message #218
This commit is contained in:
parent
0ea1edff4d
commit
4e722d9c47
@ -52,6 +52,9 @@ class BaseReactionHandler:
|
|||||||
__name__,
|
__name__,
|
||||||
f"{log_msg} to message {LogMessageHelper.get_log_string(message)}",
|
f"{log_msg} to message {LogMessageHelper.get_log_string(message)}",
|
||||||
)
|
)
|
||||||
|
if member == message.author:
|
||||||
|
self._logger.debug(__name__, f"Skipping reaction handling")
|
||||||
|
return
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self._logger.error(__name__, f"Getting message for reaction logging failed", e)
|
self._logger.error(__name__, f"Getting message for reaction logging failed", e)
|
||||||
self._logger.info(__name__, f"{log_msg} to message {payload.message_id}")
|
self._logger.info(__name__, f"{log_msg} to message {payload.message_id}")
|
||||||
|
Loading…
Reference in New Issue
Block a user