Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Add network check and autorestart for failed bot client login#408

Merged
notsniped merged 1 commit intomainfrom
network-fail-client-autorestart
Mar 19, 2025
Merged

Add network check and autorestart for failed bot client login#408
notsniped merged 1 commit intomainfrom
network-fail-client-autorestart

Conversation

@notsniped
Copy link
Member

@notsniped notsniped commented Mar 19, 2025

This update makes the client check for network connectivity before running the client completely, and keeps retrying until a network connection is established (useful for server environments).

This also checks for any network-related issues while logging in the bot client to Discord, and logs any network errors in the process. This system also gives the client 5 attempts to try to log in, after which the client automatically terminates.

@notsniped notsniped added enhancement New feature or request priority:medium type:libraries Changes to the imports/structure of imports or internal libraries area:main Changes to the main functioning code labels Mar 19, 2025
@notsniped notsniped self-assigned this Mar 19, 2025
@notsniped notsniped merged commit 1bb837e into main Mar 19, 2025
1 check passed
@notsniped notsniped deleted the network-fail-client-autorestart branch March 19, 2025 10:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area:main Changes to the main functioning code enhancement New feature or request priority:medium size/M type:libraries Changes to the imports/structure of imports or internal libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant