Bot Configuration
data class BotConfiguration( val packageName: String, val mentionAsPrefix: Boolean, val logStartup: Boolean, val documentCommands: Boolean, val recommendCommands: Boolean, val searchCommands: Boolean, val deleteInvocation: Boolean, val dualRegistry: Boolean, val commandReaction: DiscordEmoji?, val theme: Color?, val intents: Intents, val defaultPermissions: Permissions, val entitySupplyStrategy: EntitySupplyStrategy<*>, prefix: suspend (DiscordContext) -> String, mentionEmbed: Pair<String?, suspend EmbedBuilder.(DiscordContext) -> Unit?>, exceptionHandler: suspend DktException<*>.() -> Unit)
Content copied to clipboard
Contains all properties configured when the bot is created.
Constructors
Link copied to clipboard
fun BotConfiguration( packageName: String, mentionAsPrefix: Boolean, logStartup: Boolean, documentCommands: Boolean, recommendCommands: Boolean, searchCommands: Boolean, deleteInvocation: Boolean, dualRegistry: Boolean, commandReaction: DiscordEmoji?, theme: Color?, intents: Intents, defaultPermissions: Permissions, entitySupplyStrategy: EntitySupplyStrategy<*>, prefix: suspend (DiscordContext) -> String, mentionEmbed: Pair<String?, suspend EmbedBuilder.(DiscordContext) -> Unit?>, exceptionHandler: suspend DktException<*>.() -> Unit)
Content copied to clipboard