mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
split shard IDs by - instead of , to accomodate systemd template units
This commit is contained in:
parent
5695cf86f1
commit
e8881788a8
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -65,7 +65,7 @@ def main():
|
|||
|
||||
if len(sys.argv) >= 3:
|
||||
shard_count = int(sys.argv[1])
|
||||
shard_ids = list(map(int, sys.argv[2].split(',')))
|
||||
shard_ids = list(map(int, sys.argv[2].split('-')))
|
||||
Bot(**kwargs, shard_count=shard_count, shard_ids=shard_ids).run()
|
||||
else:
|
||||
Bot(**kwargs).run()
|
||||
|
|
Loading…
Reference in a new issue