DummyAutocompleteCommandContext
class DummyAutocompleteCommandContext(val command: Command, event: AutoCompleteInteractionCreateEvent, val commandName: Key) : CommandContext
Properties
Link copied to clipboard
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.
Functions
Link copied to clipboard
Extract channel information from event data.
Link copied to clipboard
Resolve the locale for this context, storing it in resolvedLocale.
Link copied to clipboard
suspend fun CommandContext.waitForResponse(timeout: Long, filter: suspend MessageCreateEvent.() -> Boolean = { true }): Message?
Wait for a message by the user that invoked this command, in the channel it was invoked in, using the given timeout (in milliseconds) and extra filter function.