From 3c87fdfa691564ed2316b96a3ff76c3399182d5b Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Thu, 14 Aug 2025 18:45:40 -0300 Subject: [PATCH] Add docs about sharding to the cli module --- src/cli.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cli.rs b/src/cli.rs index 7a757c3..fbd55fe 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -46,6 +46,11 @@ //! $ cargo run -- start [TOKEN] //! ``` //! +//! To run multiple shards, pass the `--shard` or `-s` argument to the `start` command with the +//! shard ID and total amount of shards as `id:total`. For example, for a single-shard bot, you'd +//! set it to `-s 0:1`. ID is zero-indexed (0 means first shard), total is one-indexed (0 means no +//! shards). +//! //! # Running the Documentation Server //! //! Payphone has a built-in documentation server that serves the project's documentation and