Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/firetower/slack_app/bolt.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"backfill",
"mitigated",
"mit",
"mitigate",
"resolved",
"fixed",
"reopen",
Expand Down Expand Up @@ -143,7 +144,7 @@ def handle_command(
handle_backfill_command(ack, body, command, respond)
elif subcommand in ("help", ""):
handle_help_command(ack, command, respond)
elif subcommand in ("mitigated", "mit"):
elif subcommand in ("mitigated", "mit", "mitigate"):
handle_mitigated_command(ack, body, command, respond)
elif subcommand in ("resolved", "fixed"):
handle_resolved_command(ack, body, command, respond)
Expand Down
2 changes: 1 addition & 1 deletion src/firetower/slack_app/handlers/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def handle_help_command(ack: Any, command: dict, respond: Any) -> None:
f" `{cmd} captain` - Set incident captain (alias: `{cmd} ic`)\n"
f" `{cmd} dumpslack` - Update slack transcript in postmortem doc\n"
f" `{cmd} list` - List active and mitigated incidents (alias: `{cmd} ls`)\n"
f" `{cmd} mitigated` - Mark incident as mitigated (alias: `{cmd} mit`)\n"
f" `{cmd} mitigated` - Mark incident as mitigated (aliases: `{cmd} mit`, `{cmd} mitigate`)\n"
f" `{cmd} resolved` - Mark incident as resolved (alias: `{cmd} fixed`)\n"
f" `{cmd} reopen` - Reopen an incident\n"
f" `{cmd} cancel` - Cancel an incident\n"
Expand Down
Loading