ClemBotProject/ClemBot

Bug: MessageHandlingService produces duplicate log entries on message edit.

Closed this issue · 0 comments

image

An edit to the main events in clem_bot.py in the starboard re-implementation removed the payload.cached_message null-check. This results in both the raw and regular message edit events being ran in the message handling service.

Solution: Check if payload.cached_message is not None in the raw message edit event.