Reviewed-on: sh-edraft.de/kd_discord_bot#230 Reviewed-by: Ebola-Chan <nick.jungmann@gmail.com> Closes #218
This commit is contained in:
commit
d9d3f8c8b0
@ -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