FromJSON Role Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
ToJSON Role Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
Show Role Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
CalamityToJSON' Role Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
Mentionable Role Source # | |
Instance detailsDefined in Calamity.Utils.Message |
Eq Role Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
TextShow Role Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
HasID Role Role Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(Member (CacheEff :: (Type -> Type) -> Type -> Type) r, CalamityCommandContext c) => ParameterParser Role c r | ParameterParser for roles in the guild the command was invoked in, this only
looks in the cache. Use Snowflake Role and use
upgrade if you want to allow fetching from http. |
Instance detailsDefined in Calamity.Commands.CalamityParsers Associated Types type ParserResult Role |
(k ~ A_Lens, a ~ Colour Double, b ~ Colour Double) => LabelOptic "color" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(k ~ A_Lens, a ~ Maybe RawEmoji, b ~ Maybe RawEmoji) => LabelOptic "emoji" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "hoist" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(k ~ A_Lens, a ~ Maybe RoleIcon, b ~ Maybe RoleIcon) => LabelOptic "icon" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(k ~ A_Lens, a ~ Snowflake Role, b ~ Snowflake Role) => LabelOptic "id" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "managed" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "mentionable" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "name" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(k ~ A_Lens, a ~ Permissions, b ~ Permissions) => LabelOptic "permissions" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
(k ~ A_Lens, a ~ Int, b ~ Int) => LabelOptic "position" k Role Role a b Source # | |
Instance detailsDefined in Calamity.Types.Model.Guild.Role |
Upgradeable Role (Snowflake Guild, Snowflake Role) Source # | |
Instance detailsDefined in Calamity.Types.Upgradeable |
ToMessage (TMention Role) Source # | Add a Role id to the list of allowed role mentions |
Instance detailsDefined in Calamity.Types.Tellable |
Mentionable (Snowflake Role) Source # | |
Instance detailsDefined in Calamity.Utils.Message |
ParameterParser (Snowflake Role) c r | Accepts both plain IDs and mentions |
Instance detailsDefined in Calamity.Commands.CalamityParsers |
type ParserResult Role | |
Instance detailsDefined in Calamity.Commands.CalamityParsers |
type ParserResult (Snowflake Role) | |
Instance detailsDefined in Calamity.Commands.CalamityParsers |