register test command

This commit is contained in:
Stachelbeere1248 2024-11-15 15:15:22 +01:00
parent 4b9962dd66
commit f86eefe7c4
Signed by: Stachelbeere1248
SSH key fingerprint: SHA256:IozEKdw2dB8TZxkpPdMxcWSoWTIMwoLaCcZJ1AJnY2o

View file

@ -131,7 +131,7 @@ impl Link {
Ok(self) Ok(self)
} }
} }
#[poise::command(slash_command, subcommands("add", "list"))] #[poise::command(slash_command, subcommands("add", "list", "context_list"))]
pub(crate) async fn account(_ctx: Context<'_>) -> Result<(), Error> { pub(crate) async fn account(_ctx: Context<'_>) -> Result<(), Error> {
// root of slash-commands is not invokable. // root of slash-commands is not invokable.
unreachable!() unreachable!()