calamity-0.1.0.0: A library for writing discord bots
Calamity.Types.Model.Guild.Role
Description
Guild roles
data Role Source #
Constructors
Fields
Defined in Calamity.Types.Model.Guild.Role
Methods
(==) :: Role -> Role -> Bool #
(/=) :: Role -> Role -> Bool #
showsPrec :: Int -> Role -> ShowS #
show :: Role -> String #
showList :: [Role] -> ShowS #
Associated Types
type Rep Role :: Type -> Type #
from :: Role -> Rep Role x #
to :: Rep Role x -> Role #
toJSON :: Role -> Value #
toEncoding :: Role -> Encoding #
toJSONList :: [Role] -> Value #
toEncodingList :: [Role] -> Encoding #
parseJSON :: Value -> Parser Role #
parseJSONList :: Value -> Parser [Role] #
showbPrec :: Int -> Role -> Builder #
showb :: Role -> Builder #
showbList :: [Role] -> Builder #
showtPrec :: Int -> Role -> Text #
showt :: Role -> Text #
showtList :: [Role] -> Text #
showtlPrec :: Int -> Role -> Text #
showtl :: Role -> Text #
showtlList :: [Role] -> Text #
getID :: Role -> Snowflake Role Source #