Uses of Interface
dev.sympho.bot_utils.access.AccessContext
Packages that use AccessContext
Package
Description
API for managing access to features.
Utilities for using Discord components.
-
Uses of AccessContext in dev.sympho.bot_utils.access
Subinterfaces of AccessContext in dev.sympho.bot_utils.accessModifier and TypeInterfaceDescriptioninterfaceAccess context that is specific to a channel.Methods in dev.sympho.bot_utils.access that return AccessContextModifier and TypeMethodDescriptiondefault AccessContextCreates a copy of this context with the guild replaced by the given guild.default AccessContextCreates a copy of this context with the user replaced by the given user.static AccessContextCreates an access context for the given member, in the guild that the member is from.static AccessContextCreates an access context for the given user in the given guild.Methods in dev.sympho.bot_utils.access with parameters of type AccessContextModifier and TypeMethodDescriptionGuildGroup.belongs(AccessContext context) Determines whether the user in the given context belongs to this group.GuildGroup.belongs(User user, AccessContext context) Determines whether the given user belongs to this group in the context of the given guild and channel. -
Uses of AccessContext in dev.sympho.bot_utils.component
Classes in dev.sympho.bot_utils.component that implement AccessContextModifier and TypeClassDescriptionfinal classThe execution context of a button being pressed.static classThe execution context of a component being interacted with.final classThe execution context of a modal being submitted.