ComponentContext
abstract class ComponentContext<E : ComponentInteractionCreateEvent>(val component: Component, val event: E, val cache: MutableStringKeyedMap<Any>) : KordExKoinComponent, TranslatableContext
Abstract class representing the execution context for a generic components.
Parameters
E
Event type the component makes use of
component
Component object that's being interacted with
event
Event that triggered this execution context
cache
Data cache map shared with the defined checks.
Inheritors
Properties
Link copied to clipboard
Link copied to clipboard
Cached locale variable, stored and retrieved by getLocale.
Link copied to clipboard
Current Sentry context, containing breadcrumbs and other goodies.
Link copied to clipboard
Configured bot settings object.