We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba842f2 commit 9366ee3Copy full SHA for 9366ee3
src/main/kotlin/io/github/freya022/botcommands/internal/core/BotOwnersImpl.kt
@@ -44,7 +44,7 @@ internal class BotOwnersImpl internal constructor(
44
45
override fun isOwner(user: UserSnowflake): Boolean = user.idLong in owners
46
47
- @BEventListener
+ @BEventListener(mode = BEventListener.RunMode.ASYNC)
48
internal suspend fun onInjectedJDA(event: InjectedJDAEvent) {
49
if (ownerWriter.isInitialized()) return
50
0 commit comments