BContext
Main context for BotCommands framework.
Properties
Returns the application commands context, this is for user/message/slash commands and related methods
Returns the DefaultEmbedFooterIconSupplier service.
Returns the DefaultEmbedSupplier service.
Returns the EventDispatcher service.
Returns the global exception handler, used to handle errors caught by the framework, or null
if none exists.
Returns the help builder consumer - changes the EmbedBuilder given to add more stuff in it
Returns the IDs of the bot owners.
Returns the preferred prefix for triggering this bot, or null
if BTextConfig.usePingAsPrefix is disabled and no prefix was added in BTextConfig.prefixes.
Returns the ServiceContainer service.
Returns the SettingsProvider service, or null
if none exists.
Returns the initialization status of the framework.
Returns the TextCommandsContext service.
Functions
Sends an exception message to the bot owners.
Returns the DefaultMessages instance for this Guild's locale
Returns the DefaultMessages instance for the provided Discord locale.
Returns the DefaultMessages instance for this user's locale
Returns the DiscordLocale for the specified Guild
Gets the message that would be sent by dispatchException.
Invalidates the autocomplete cache of the specified autocomplete handler.