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 #
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
parseJSON :: Value -> Parser TextChannel
parseJSONList :: Value -> Parser [TextChannel]
toJSON :: TextChannel -> Value
toEncoding :: TextChannel -> Encoding
toJSONList :: [TextChannel] -> Value
toEncodingList :: [TextChannel] -> Encoding
Defined in Calamity.Types.Tellable
getChannel :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, Member (Error RestError) r) => TextChannel -> Sem r (Snowflake Channel) Source #
Defined in Calamity.Utils.Message
mention :: TextChannel -> Text Source #
getID :: TextChannel -> Snowflake Channel Source #
getID :: TextChannel -> Snowflake Guild Source #
getID :: TextChannel -> Snowflake TextChannel Source #
getChannel :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, Member (Error RestError) r) => Snowflake TextChannel -> Sem r (Snowflake Channel) Source #
mention :: Snowflake TextChannel -> Text Source #