Skip to content

Commit

Permalink
<jx3>[feat]serendipity default to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Sep 13, 2024
1 parent f00a3fc commit 9d02bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/jx3/serendipity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def _(event: GroupMessageEvent, args: Message = CommandArg()):
data = await get_content(data)
await jx3_cmd_serendipity.finish(ms.image(data))

serendipity_v2 = on_command("jx3_serendipity_v2", aliases={"奇遇", "查询"}, force_whitespace=True, priority=5)
serendipity_v2 = on_command("jx3_serendipity_v2", aliases={"奇遇v2", "查询v2"}, force_whitespace=True, priority=5)


@serendipity_v2.handle()
Expand Down Expand Up @@ -67,7 +67,7 @@ async def _(event: GroupMessageEvent, args: Message = CommandArg()):
data = get_content_local(data)
await serendipity_v2.finish(ms.image(data))

serendipity_v3 = on_command("jx3_serendipity_v3", aliases={"奇遇v3", "查询v3"}, force_whitespace=True, priority=5)
serendipity_v3 = on_command("jx3_serendipity_v3", aliases={"奇遇v3", "查询v3", "奇遇", "查询"}, force_whitespace=True, priority=5)


@serendipity_v3.handle()
Expand Down

0 comments on commit 9d02bc2

Please sign in to comment.