SettingsProvider

@InterfacedService(acceptMultiple = false)
interface SettingsProvider(source)

Deprecated (for removal)

Interface for settings requested by the framework, such as prefixes, guild locale or guild commands whitelist.

Usage: Register your instance as a service with BService or any annotation that enables your class for dependency injection.

Deprecated

For removal, all functions were deprecated

See also

@InterfacedService

Functions

Link copied to clipboard
Returns the list of guild commands usable in that Guild.
Link copied to clipboard
Returns the Locale of the given Guild, will be null for a global context This might be used for localization such as in default messages or application commands
Link copied to clipboard
Returns the list of prefix this Guild should use If the returned list is null or empty, the global prefixes will be used