Safe Haskell | None |
---|---|
Language | Haskell2010 |
A thing for storing the last N messages
Documentation
data MessageStore Source #
Instances
addMessage :: Message -> MessageStore -> MessageStore Source #
getMessage :: Snowflake Message -> MessageStore -> Maybe Message Source #
dropMessage :: Snowflake Message -> MessageStore -> MessageStore Source #