Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ParameterParser
instances for calamity models
Orphan instances
(Member (CacheEff :: (Type -> Type) -> Type -> Type) r, CalamityCommandContext c) => ParameterParser GuildChannel c r Source # | ParameterParser for channels in the guild the command was invoked in, this only
looks in the cache. Use |
type ParserResult GuildChannel parameterInfo :: ParameterInfo parse :: Sem (ParserEffs c r) (ParserResult GuildChannel) | |
(Member (CacheEff :: (Type -> Type) -> Type -> Type) r, CalamityCommandContext c) => ParameterParser Emoji c r Source # | ParameterParser for emojis in the guild the command was invoked in, this only
looks in the cache. Use |
type ParserResult Emoji parameterInfo :: ParameterInfo | |
ParameterParser RawEmoji c r Source # | Parses both discord emojis, and unicode emojis |
type ParserResult RawEmoji parameterInfo :: ParameterInfo | |
Member (CacheEff :: (Type -> Type) -> Type -> Type) r => ParameterParser Guild c r Source # | ParameterParser for guilds, this only looks in the cache. Use |
type ParserResult Guild parameterInfo :: ParameterInfo | |
(Member (CacheEff :: (Type -> Type) -> Type -> Type) r, CalamityCommandContext c) => ParameterParser Member c r Source # | ParameterParser for members in the guild the command was invoked in, this only looks
in the cache. Use |
type ParserResult Member parameterInfo :: ParameterInfo | |
(Member (CacheEff :: (Type -> Type) -> Type -> Type) r, CalamityCommandContext c) => ParameterParser Role c r Source # | ParameterParser for roles in the guild the command was invoked in, this only
looks in the cache. Use |
type ParserResult Role parameterInfo :: ParameterInfo | |
Member (CacheEff :: (Type -> Type) -> Type -> Type) r => ParameterParser User c r Source # | ParameterParser for users, this only looks in the cache. Use |
type ParserResult User parameterInfo :: ParameterInfo | |
ParameterParser (Snowflake Channel) c r Source # | Accepts both plain IDs and mentions |
parameterInfo :: ParameterInfo parse :: Sem (ParserEffs c r) (ParserResult (Snowflake Channel)) | |
ParameterParser (Snowflake Emoji) c r Source # | Accepts both plain IDs and uses of emoji |
parameterInfo :: ParameterInfo parse :: Sem (ParserEffs c r) (ParserResult (Snowflake Emoji)) | |
ParameterParser (Snowflake Member) c r Source # | Accepts both plain IDs and mentions |
parameterInfo :: ParameterInfo parse :: Sem (ParserEffs c r) (ParserResult (Snowflake Member)) | |
ParameterParser (Snowflake Role) c r Source # | Accepts both plain IDs and mentions |
parameterInfo :: ParameterInfo parse :: Sem (ParserEffs c r) (ParserResult (Snowflake Role)) | |
ParameterParser (Snowflake User) c r Source # | Accepts both plain IDs and mentions |
parameterInfo :: ParameterInfo parse :: Sem (ParserEffs c r) (ParserResult (Snowflake User)) | |
Typeable (Snowflake a) => ParameterParser (Snowflake a) c r Source # | |
type ParserResult (Snowflake a) parameterInfo :: ParameterInfo |