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