mirror of
https://github.com/mii443/fendbot.git
synced 2025-08-22 23:15:33 +00:00
add subcommand
This commit is contained in:
@ -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> {
|
||||||
|
Reference in New Issue
Block a user