calamity-0.8.0.0: A library for writing discord bots in haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Calamity.Types.Model.Channel.Guild.Text

Documentation

data TextChannel Source #

Instances

Instances details
FromJSON 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

Tellable TextChannel Source # 
Instance details

Defined in Calamity.Types.Tellable

Methods

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

Mentionable TextChannel Source # 
Instance details

Defined in Calamity.Utils.Message

Eq TextChannel Source # 
Instance details

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

TextShow TextChannel Source # 
Instance details

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

HasID Channel 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

HasID Guild TextChannel Source # 
Instance details

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

(k ~ A_Lens, a ~ Snowflake Guild, b ~ Snowflake Guild) => LabelOptic "guildID" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ Snowflake TextChannel, b ~ Snowflake TextChannel) => LabelOptic "id" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ Maybe (Snowflake Message), b ~ Maybe (Snowflake Message)) => LabelOptic "lastMessageID" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ Maybe UTCTime, b ~ Maybe UTCTime) => LabelOptic "lastPinTimestamp" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "name" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "nsfw" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ Maybe (Snowflake Category), b ~ Maybe (Snowflake Category)) => LabelOptic "parentID" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ SnowflakeMap Overwrite, b ~ SnowflakeMap Overwrite) => LabelOptic "permissionOverwrites" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ Int, b ~ Int) => LabelOptic "position" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ Maybe Int, b ~ Maybe Int) => LabelOptic "rateLimitPerUser" k TextChannel TextChannel a b Source # 
Instance details

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

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "topic" k TextChannel TextChannel a b 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 :: EffectRow). BotC r => Snowflake TextChannel -> Sem r (Maybe TextChannel) Source #

Tellable (Snowflake TextChannel) Source # 
Instance details

Defined in Calamity.Types.Tellable

Mentionable (Snowflake TextChannel) Source # 
Instance details

Defined in Calamity.Utils.Message