calamity-0.1.14.6: A library for writing discord bots in haskell
Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Model.Channel.Guild.Text

Description

Text channels

Documentation

data TextChannel Source #

Instances

Instances details
Eq TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text

Show TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text

Generic TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text

Associated Types

type Rep TextChannel :: Type -> Type #

TextShow TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text

FromJSON TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text

Methods

parseJSON :: Value -> Parser TextChannel

parseJSONList :: Value -> Parser [TextChannel]

ToJSON TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text

Methods

toJSON :: TextChannel -> Value

toEncoding :: TextChannel -> Encoding

toJSONList :: [TextChannel] -> Value

toEncodingList :: [TextChannel] -> Encoding

Tellable TextChannel Source # 
Instance details

Defined in Calamity.Types.Tellable

Methods

getChannel :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, Member (Error RestError) r) => TextChannel -> Sem r (Snowflake Channel) Source #

Mentionable TextChannel Source # 
Instance details

Defined in Calamity.Utils.Message

HasID Channel TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text

HasID Guild TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text

HasID TextChannel TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text

Tellable (Snowflake TextChannel) Source # 
Instance details

Defined in Calamity.Types.Tellable

Methods

getChannel :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, Member (Error RestError) r) => Snowflake TextChannel -> Sem r (Snowflake Channel) Source #

Mentionable (Snowflake TextChannel) Source # 
Instance details

Defined in Calamity.Utils.Message

type Rep TextChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Guild.Text