add subcommand

This commit is contained in:
Masato Imai
2024-10-08 04:11:26 +00:00
parent 8dfda9d4e1
commit f84113a560

View File

@ -27,7 +27,7 @@ pub async fn fend(_: Context<'_>) -> Result<(), Error> {
#[poise::command( #[poise::command(
prefix_command, prefix_command,
slash_command, slash_command,
subcommands("reset"), subcommands("reset", "define_custom_unit"),
subcommand_required subcommand_required
)] )]
pub async fn context(_: Context<'_>) -> Result<(), Error> { pub async fn context(_: Context<'_>) -> Result<(), Error> {