Skip to content

Latest messages not cached after restart #255

@olivier-b-be

Description

@olivier-b-be

Overview

When the bot restarts due to an update, a crash, or heroku's restart functionality (I believe this is a thing?) the bot currently does not cache the latest x amount of messages per channel. This means the delete or update events on recent messages posted before the restart won't be fired and thus won't be captured by the bot. This is definitely not ideal for the ghost ping functionality and the logging of message edits/deletes.

Expected Behaviour

When the bot is restarted it will cache the latest x amount of messages per channel so that events will trigger on those messages

Actual Behaviour

No messages are cached which means no events are fired on messages that were sent before the bot was restarted

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions