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] #
rnf :: 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 #
Defined in Calamity.Types.Tellable
getChannel :: forall (r :: EffectRow). (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 #
Defined in Calamity.Types.Upgradeable
upgrade :: forall (r :: EffectRow). BotC r => Snowflake TextChannel -> Sem r (Maybe TextChannel) Source #
getChannel :: forall (r :: EffectRow). (BotC r, Member (Error RestError) r) => Snowflake TextChannel -> Sem r (Snowflake Channel) Source #
mention :: Snowflake TextChannel -> Text Source #