bot

@KordPreview
fun bot(token: String?, configure: suspend Bot.() -> Unit)

Create an instance of your Discord bot! You can use the following blocks to modify bot configuration: prefix, configure, mentionEmbed, presence, localeOf, onStart

Parameters

token

Your Discord bot token.