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
constructor(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

Delete a command invocation message after execution.

Link copied to clipboard

Generate a markdown file of command info.

Link copied to clipboard

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

Display log information when the bot starts.

Link copied to clipboard

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

Link copied to clipboard

Recommend the closest command name to an invalid one.

Link copied to clipboard

Allow command searching with 'search '.

Link copied to clipboard
var theme: Color?

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