mirror of
https://github.com/mii443/fendbot.git
synced 2025-08-22 15:05:38 +00:00
add subcommand
This commit is contained in:
@ -27,7 +27,7 @@ pub async fn fend(_: Context<'_>) -> Result<(), Error> {
|
||||
#[poise::command(
|
||||
prefix_command,
|
||||
slash_command,
|
||||
subcommands("reset"),
|
||||
subcommands("reset", "define_custom_unit"),
|
||||
subcommand_required
|
||||
)]
|
||||
pub async fn context(_: Context<'_>) -> Result<(), Error> {
|
||||
|
Reference in New Issue
Block a user