calamity-0.1.28.4: 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 #

ToJSON 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

NFData TextChannel Source # 
Instance details

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

Methods

rnf :: TextChannel -> () #

TextShow TextChannel Source # 
Instance details

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

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

Upgradeable TextChannel (Snowflake TextChannel) Source # 
Instance details

Defined in Calamity.Types.Upgradeable

Methods

upgrade :: forall (r :: [(Type -> Type) -> Type -> Type]). BotC r => Snowflake TextChannel -> Sem r (Maybe TextChannel) Source #

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

type Rep TextChannel = D1 ('MetaData "TextChannel" "Calamity.Types.Model.Channel.Guild.Text" "calamity-0.1.28.4-FqOhVhDjHpX2rPyeyr2m7C" 'False) (C1 ('MetaCons "TextChannel" 'PrefixI 'True) (((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Snowflake TextChannel)) :*: S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Snowflake Guild))) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "permissionOverwrites") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (SnowflakeMap Overwrite)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "topic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nsfw") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "lastMessageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Snowflake Message))))) :*: (S1 ('MetaSel ('Just "lastPinTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UTCTime)) :*: (S1 ('MetaSel ('Just "rateLimitPerUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "parentID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Snowflake Category))))))))