fix(command): expose history in chat command menus

Made-with: Cursor
This commit is contained in:
Xubin Ren
2026-04-27 18:23:35 +08:00
committed by Xubin Ren
parent 8ed10ac7df
commit 2b886ffd1f
5 changed files with 47 additions and 2 deletions
+1 -1
View File
@@ -865,7 +865,7 @@ async def test_slash_new_is_blocked_for_disallowed_user() -> None:
assert handled == []
@pytest.mark.parametrize("slash_name", ["stop", "restart", "status"])
@pytest.mark.parametrize("slash_name", ["stop", "restart", "status", "history"])
@pytest.mark.asyncio
async def test_slash_commands_forward_via_handle_message(slash_name: str) -> None:
channel = DiscordChannel(DiscordConfig(enabled=True, allow_from=["*"]), MessageBus())