Skip to content

Multiple Discord API connections opened when using multiple IRC connections with same bot #49

@Phoenix616

Description

@Phoenix616

When having the bridge connect with multiple different IRC connections that use the same Discord bot endpoint it still tries to create a connection to the Discord API for both bridges instead of just once resulting in it being ratelimited on first connect:

[17:34:07] [phoenix616] [INFO] - Connecting to Discord API...
[17:34:08] [net.dv8tion.jda.api.JDA] [INFO] - Login Successful!
[17:34:08] [net.dv8tion.jda.internal.requests.WebSocketClient] [INFO] - Connected to WebSocket
[17:34:12] [net.dv8tion.jda.internal.requests.WebSocketClient] [ERROR] - Encountered IDENTIFY Rate Limit!
[17:34:12] [net.dv8tion.jda.internal.requests.WebSocketClient] [WARN] - Got disconnected from WebSocket (Code 1000). Appending to reconnect queue
[17:34:19] [net.dv8tion.jda.internal.requests.WebSocketClient] [INFO] - Connected to WebSocket
[17:34:19] [net.dv8tion.jda.api.JDA] [INFO] - Finished Loading!

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: normalIssue has normal priority for resolutiontype: featureNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions