1
0

WOW IF THIS IS WHY IT DOESNT WORK
All checks were successful
Build & Publish / build (push) Successful in 3m19s

This commit is contained in:
Jannik Reimers 2025-04-04 00:03:08 +02:00
parent 27a83c175e
commit 937936ca0f
Signed by: jansel
GPG Key ID: 39C62D7D5233CFD0

View File

@ -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 private val TOKEN = env("TOKEN") // Get the bot' token from the env vars or a .env file
suspend fun main() { suspend fun main() {
val bot = ExtensibleBot(TOKEN) { botRef = ExtensibleBot(TOKEN) {
extensions { extensions {
add(::ReplayExtension) add(::ReplayExtension)
} }
@ -40,5 +40,5 @@ suspend fun main() {
} }
} }
bot.start() botRef!!.start()
} }