Skip to content

Commit

Permalink
Make delete-tag a slash command
Browse files Browse the repository at this point in the history
There was no reason it shouldn't be.
  • Loading branch information
mattfbacon committed Feb 20, 2024
1 parent b67d6f2 commit 9ccc486
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/src/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ async fn set_tag(
/// Syntax: `?delete-tag <tag name>`
#[poise::command(
prefix_command,
slash_command,
rename = "delete-tag",
// It doesn't undo deletion, so it's not exactly a purely edit-tracked system, but users still expect this type of behavior.
invoke_on_edit,
Expand Down

0 comments on commit 9ccc486

Please sign in to comment.