WOW IF THIS IS WHY IT DOESNT WORK
This commit is contained in:
parent
27a83c175e
commit
937936ca0f
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ val TEST_SERVER_ID = Snowflake(
|
|||
private val TOKEN = env("TOKEN") // Get the bot' token from the env vars or a .env file
|
||||
|
||||
suspend fun main() {
|
||||
val bot = ExtensibleBot(TOKEN) {
|
||||
botRef = ExtensibleBot(TOKEN) {
|
||||
extensions {
|
||||
add(::ReplayExtension)
|
||||
}
|
||||
|
@ -40,5 +40,5 @@ suspend fun main() {
|
|||
}
|
||||
}
|
||||
|
||||
bot.start()
|
||||
botRef!!.start()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue