SimpleConfiguration

data class SimpleConfiguration(    var mentionAsPrefix: Boolean = true,     var logStartup: Boolean = true,     var documentCommands: Boolean = true,     var recommendCommands: Boolean = true,     var searchCommands: Boolean = true,     var deleteInvocation: Boolean = true,     var dualRegistry: Boolean = true,     var commandReaction: DiscordEmoji? = Emojis.eyes,     var theme: Color? = null,     var intents: Intents = Intents.none,     var defaultPermissions: Permissions = Permissions(Permission.UseApplicationCommands),     var entitySupplyStrategy: EntitySupplyStrategy<*> = EntitySupplyStrategy.cacheWithCachingRestFallback)

Simple configuration values that don't require a builder.

Constructors

Link copied to clipboard
fun SimpleConfiguration(    mentionAsPrefix: Boolean = true,     logStartup: Boolean = true,     documentCommands: Boolean = true,     recommendCommands: Boolean = true,     searchCommands: Boolean = true,     deleteInvocation: Boolean = true,     dualRegistry: Boolean = true,     commandReaction: DiscordEmoji? = Emojis.eyes,     theme: Color? = null,     intents: Intents = Intents.none,     defaultPermissions: Permissions = Permissions(Permission.UseApplicationCommands),     entitySupplyStrategy: EntitySupplyStrategy<*> = EntitySupplyStrategy.cacheWithCachingRestFallback)

Properties

Link copied to clipboard
var commandReaction: DiscordEmoji?

A reaction added to the command invocation message.

Link copied to clipboard
var defaultPermissions: Permissions

The Permissions used to restrict command usage.

Link copied to clipboard
var deleteInvocation: Boolean = true

Delete a command invocation message after execution.

Link copied to clipboard
var documentCommands: Boolean = true

Generate a markdown file of command info.

Link copied to clipboard
var dualRegistry: Boolean = true

Allow invocation of a slash command as a text command.

Link copied to clipboard
var entitySupplyStrategy: EntitySupplyStrategy<*>

EntitySupplyStrategy for use in Kord cache.

Link copied to clipboard
var intents: Intents

Additional gateway Intents to register manually.

Link copied to clipboard
var logStartup: Boolean = true

Display log information when the bot starts.

Link copied to clipboard
var mentionAsPrefix: Boolean = true

Use the bot mention (@Bot) as a prefix.

Link copied to clipboard
var recommendCommands: Boolean = true

Recommend the closest command name to an invalid one.

Link copied to clipboard
var searchCommands: Boolean = true

Allow command searching with 'search '.

Link copied to clipboard
var theme: Color? = null

The color theme of internal embeds (i.e. Help).