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