Because if they aren't invalidated, pending messages that are marked as SKIPPED_VIA_DIRECT_MESSAGE or FAILED_TO_SEND_VIA_DIRECT_MESSAGE will be kept and she will notify the user multiple times when using a slash command.
Maybe what we could do is create a table to store the "current warning group ID", and always retrieve warnings from the last group ID.
Because if they aren't invalidated, pending messages that are marked as
SKIPPED_VIA_DIRECT_MESSAGE
orFAILED_TO_SEND_VIA_DIRECT_MESSAGE
will be kept and she will notify the user multiple times when using a slash command.Maybe what we could do is create a table to store the "current warning group ID", and always retrieve warnings from the last group ID.