Add docs about sharding to the cli module

This commit is contained in:
2025-08-14 18:45:40 -03:00
parent da10b7f194
commit 3c87fdfa69
+5
View File
@@ -46,6 +46,11 @@
//! $ cargo run -- start [TOKEN] //! $ 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 //! # Running the Documentation Server
//! //!
//! Payphone has a built-in documentation server that serves the project's documentation and //! Payphone has a built-in documentation server that serves the project's documentation and