Merge pull request 'Fixed add xp to author of reacted message #218' (#230) from #218 into 1.0.0

Reviewed-on: sh-edraft.de/kd_discord_bot#230
Reviewed-by: Ebola-Chan <nick.jungmann@gmail.com>
Closes #218
This commit is contained in:
Sven Heidemann 2023-02-21 20:42:52 +01:00
commit d9d3f8c8b0

View File

@ -52,6 +52,9 @@ class BaseReactionHandler:
__name__,
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:
self._logger.error(__name__, f"Getting message for reaction logging failed", e)
self._logger.info(__name__, f"{log_msg} to message {payload.message_id}")