Skip to content

Invalid Discord Token sends Stop Signal to server #3

@jonylentzmc

Description

@jonylentzmc

Basically I was configuring the discord bridge and missed a single letter on the token causing it to be invalid,
I don't know if this is expected behavior but instead of disabling the plugin it forces the server to stop

[2026/01/20 22:06:16 SEVERE]               [DiscordBridgeAIO] Discord bot error
dev.kord.core.exception.KordInitializationException: Something went wrong while initializing Kord, make sure the bot token you entered is valid.Discord response: {"message": "401: Unauthorized", "code": 0} (401 )

        at ThirdPartyPlugin//dev.kord.core.builder.kord.BaseKordBuilder.getGatewayInfo(KordBuilder.kt:199)
        at ThirdPartyPlugin//dev.kord.core.builder.kord.BaseKordBuilder.access$getGatewayInfo(KordBuilder.kt:42)
        at ThirdPartyPlugin//dev.kord.core.builder.kord.BaseKordBuilder$getGatewayInfo$1.invokeSuspend(KordBuilder.kt)
        at ThirdPartyPlugin//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
        at ThirdPartyPlugin//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
        at ThirdPartyPlugin//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
        at ThirdPartyPlugin//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829)
        at ThirdPartyPlugin//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
        at ThirdPartyPlugin//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)

[2026/01/20 22:06:16   INFO]                   [HytaleServer] Shutdown triggered!!!
[2026/01/20 22:06:16   INFO]                   [HytaleServer] Shutting down... 6  'Discord bot error: Something went wrong while initializing Kord, make sure the bot token you entered is valid.Discord response: {"message": "401: Unauthorized", "code": 0} (401 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions