Calamity.Types.Model.Channel.Guild.Category
data Category Source #
Constructors
Fields
Defined in Calamity.Types.Model.Channel.Guild.Category
Methods
(==) :: Category -> Category -> Bool #
(/=) :: Category -> Category -> Bool #
showsPrec :: Int -> Category -> ShowS #
show :: Category -> String #
showList :: [Category] -> ShowS #
Associated Types
type Rep Category :: Type -> Type #
from :: Category -> Rep Category x #
to :: Rep Category x -> Category #
showbPrec :: Int -> Category -> Builder
showb :: Category -> Builder
showbList :: [Category] -> Builder
showtPrec :: Int -> Category -> Text
showt :: Category -> Text
showtList :: [Category] -> Text
showtlPrec :: Int -> Category -> Text
showtl :: Category -> Text
showtlList :: [Category] -> Text
parseJSON :: Value -> Parser Category
parseJSONList :: Value -> Parser [Category]
toJSON :: Category -> Value
toEncoding :: Category -> Encoding
toJSONList :: [Category] -> Value
toEncodingList :: [Category] -> Encoding
Defined in Calamity.Utils.Message
mention :: Category -> Text Source #
getID :: Category -> Snowflake Channel Source #
getID :: Category -> Snowflake Category Source #
mention :: Snowflake Category -> Text Source #