BContext
Main context for BotCommands framework.
Properties
Link copied to clipboard
Link copied to clipboard
Returns the application commands context, this is for user/message/slash commands and related methods
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the EventDispatcher service.
Link copied to clipboard
Returns the global exception handler, used to handle errors caught by the framework, or null
if none exists.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the ServiceContainer service.
Link copied to clipboard
Returns the initialization status of the framework.
Link copied to clipboard
Returns the TextCommandsContext service.
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Sends an exception message to the bot owners.
Link copied to clipboard
abstract fun getExceptionContent(message: String, t: Throwable?, extraContext: Map<String, Any?>): String
Gets the message that would be sent by dispatchException.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard