diff options
| author | Nathan Perry <np@npry.dev> | 2025-12-17 20:40:44 -0500 |
|---|---|---|
| committer | Nathan Perry <np@npry.dev> | 2025-12-17 21:13:46 -0500 |
| commit | de49f346313e7739945fbf0058bdfb78c90237a6 (patch) | |
| tree | 99528908ff7ca5f5a39b1a727650bf3a1ccad721 /src/commands/mod.rs | |
| parent | 13fcc8a263970e48999e7f9319876a6443a54ac5 (diff) | |
update poise to not use custom fork
Diffstat (limited to 'src/commands/mod.rs')
| -rw-r--r-- | src/commands/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs index a5ee1bd..97a1abe 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -1,4 +1,4 @@ -use poise::builtins::PrettyHelpConfiguration; +use poise::builtins::HelpConfiguration; use crate::{ PoiseContext, @@ -42,7 +42,8 @@ pub fn commands() -> Vec<poise::Command<crate::PoiseData, anyhow::Error>> { /// Print this help text. #[poise::command(prefix_command, aliases("halp"))] pub async fn help(ctx: PoiseContext<'_>, command: Option<String>) -> anyhow::Result<()> { - poise::builtins::pretty_help(ctx, command.as_deref(), PrettyHelpConfiguration { + poise::builtins::help(ctx, command.as_deref(), HelpConfiguration { + include_description: true, ..Default::default() }) .await?; |
