Add user argument docs to incidents command

This commit is contained in:
2025-08-23 03:23:01 -03:00
parent 7a5943a5ef
commit b10484cacc
3 changed files with 10 additions and 2 deletions
+8
View File
@@ -106,6 +106,14 @@ impl Command<State, Extras> for IncidentsCommand {
vec![Box::new(BotModeratorPermission)]
}
fn arguments(&self) -> &'static [Argument] {
&[Argument {
name: "user",
is_optional: false,
is_greedy: false,
}]
}
fn show_in_help(&self, _rt: &Runtime<State, Extras>, extras: &Extras) -> bool {
extras.user.is_moderator
}