**Replace JDA with ShardProvider for improved sharding**
Refactored core classes and APIs to use `ShardProvider` instead of `JDA` directly. Added `ShardService` for managing shard connections and activity, improving scalability and separation of concerns. Integrated test coverage to validate shard-level operations and bot endpoints.
This commit is contained in:
1 parent
b0664e8835
commit
75b495b08c
12 files changed
+528
-224
No files matched your search
@@ -6,6 +6,8 @@ NETNEUTRALITY_BOT_PREFIX=$
|
||||
NETNEUTRALITY_BOT_OWNER=
|
||||
NETNEUTRALITY_BOT_INVITE=
|
||||
NETNEUTRALITY_API_PORT=9000
|
||||
# Optional: number of gateway shards. Leave unset to use Discord's recommended count.
|
||||
# NETNEUTRALITY_SHARD_TOTAL=1
|
||||
|
||||
MYSQL_HOST=127.0.0.1
|
||||
MYSQL_PORT=3306
|
||||
|
||||
Reference in new issue
Block a user