Add support for extras, conditionally displaying commands in the help command, and start working on moderation commands

This commit is contained in:
2025-08-22 18:06:52 -03:00
parent 55ae1c8937
commit 8868b18be3
41 changed files with 1075 additions and 368 deletions
+9
View File
@@ -221,6 +221,15 @@ pub enum Commands {
default_values = &["redis://127.0.0.1:6379"],
)]
redis_urls: Vec<String>,
/// The bot owner's ID, this user will be allowed to assign moderators.
#[arg(
long,
env = "PAYPHONE_OWNER_ID",
value_name = "ID",
default_value_t = 0
)]
bot_owner_id: u64,
},
/// Starts a documentation server for the project which serves `cargo doc` and refreshes on