sharding (core): Add base sharding support.
Add `meta.args` for command line argument access. Add command line argument support for shard number. Add shard count to config file. Add `meta.sharding` exposing shard properties. Add shard number to logging methods. Add shard number to data appid.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[DEFAULT]
|
||||
log_file = bot.log
|
||||
log_channel =
|
||||
error_channel =
|
||||
guild_log_channel =
|
||||
|
||||
prefix = !
|
||||
@@ -10,4 +11,6 @@ owners = 413668234269818890, 389399222400712714
|
||||
database = dbname=lionbot
|
||||
data_appid = LionBot
|
||||
|
||||
shard_count = 1
|
||||
|
||||
lion_sync_period = 60
|
||||
|
||||
Reference in New Issue
Block a user