Skip to content

Commit

Permalink
🎨 fix version 0.34.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Dec 13, 2023
1 parent eb42ac0 commit 186aec0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_kook.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ def test_kook():

from nonebot_plugin_alconna.adapters.kook import Mention, KMarkdown

msg = Message() + MessageSegment.text("/command ") + MessageSegment.mention("123456") + MessageSegment.KMarkdown("12345678")
msg = (
Message()
+ MessageSegment.text("/command ")
+ MessageSegment.mention("123456")
+ MessageSegment.KMarkdown("12345678")
)

alc = Alconna("/command", Args["some_arg", Mention]["some_arg1", KMarkdown])

Expand Down

0 comments on commit 186aec0

Please sign in to comment.