WHOOPS I FORGOT THE RESPONSE
All checks were successful
Build & Publish / build (push) Successful in 3m33s
All checks were successful
Build & Publish / build (push) Successful in 3m33s
This commit is contained in:
parent
120686119e
commit
b316843de0
@ -49,6 +49,9 @@ class ReplayExtension : Extension() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
respond {
|
||||||
|
content = "Replay submitted successfully!"
|
||||||
|
}
|
||||||
return@action
|
return@action
|
||||||
}
|
}
|
||||||
if (file.filename.endsWith(".osr")) {
|
if (file.filename.endsWith(".osr")) {
|
||||||
|
@ -12,8 +12,6 @@ import dev.kordex.core.extensions.ephemeralSlashCommand
|
|||||||
class SessionExtension : Extension() {
|
class SessionExtension : Extension() {
|
||||||
override val name = "Session"
|
override val name = "Session"
|
||||||
override suspend fun setup() {
|
override suspend fun setup() {
|
||||||
// This is where you can add any code that should run when the bot is ready
|
|
||||||
// For example, you can initialize any services or start any background tasks
|
|
||||||
logger.info { "ReplaySession extension loaded!" }
|
logger.info { "ReplaySession extension loaded!" }
|
||||||
ephemeralSlashCommand {
|
ephemeralSlashCommand {
|
||||||
check {
|
check {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user