| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Kurita.Bot.Types
Documentation
Constructors
| BotConfig | |
Fields
| |
data BotCommand Source #
Constructors
| AddPrompt Prompt | |
| SetLive Prompt | |
| List Int Int | |
| CurrentBattle | |
| AddData Text Text | |
| RemoveData Text Text | |
| SearchPrompts Text | |
| TestPrompt Int | |
| SetPrompt Int | |
| LastRoundWinners | |
| NextUp |
Instances
| Eq BotCommand Source # | |
Defined in Kurita.Bot.Types | |
| Ord BotCommand Source # | |
Defined in Kurita.Bot.Types Methods compare :: BotCommand -> BotCommand -> Ordering # (<) :: BotCommand -> BotCommand -> Bool # (<=) :: BotCommand -> BotCommand -> Bool # (>) :: BotCommand -> BotCommand -> Bool # (>=) :: BotCommand -> BotCommand -> Bool # max :: BotCommand -> BotCommand -> BotCommand # min :: BotCommand -> BotCommand -> BotCommand # | |
| Show BotCommand Source # | |
Defined in Kurita.Bot.Types Methods showsPrec :: Int -> BotCommand -> ShowS # show :: BotCommand -> String # showList :: [BotCommand] -> ShowS # | |
Constructors
| EventMessage Message | |
| EventMessageReply MessageReply | |
| ReactionAdded Reaction | |
| ReactionRemoved Reaction |
data MessageReply Source #
Constructors
| MessageReply | |
Fields | |
Instances
| Eq MessageReply Source # | |
Defined in Kurita.Bot.Types | |
| Ord MessageReply Source # | |
Defined in Kurita.Bot.Types Methods compare :: MessageReply -> MessageReply -> Ordering # (<) :: MessageReply -> MessageReply -> Bool # (<=) :: MessageReply -> MessageReply -> Bool # (>) :: MessageReply -> MessageReply -> Bool # (>=) :: MessageReply -> MessageReply -> Bool # max :: MessageReply -> MessageReply -> MessageReply # min :: MessageReply -> MessageReply -> MessageReply # | |
| Show MessageReply Source # | |
Defined in Kurita.Bot.Types Methods showsPrec :: Int -> MessageReply -> ShowS # show :: MessageReply -> String # showList :: [MessageReply] -> ShowS # | |
| FromJSON MessageReply Source # | |
Defined in Kurita.Bot.Types | |
Constructors
| Reaction | |
Fields | |
Constructors
| Message | |
Fields
| |
Constructors
| TimeStamp | |
Fields
| |
Instances
| Eq TimeStamp Source # | |
| Ord TimeStamp Source # | |
| Show TimeStamp Source # | |
| FromJSON TimeStamp Source # | |