bot

suspend fun bot(token: String, builder: suspend BotBase.() -> Unit)(source)

Function to initiate a bot using the diskord-bot DSL

Parameters

token

Discord bot API token

builder

Function to build the bot