Skip to content

Commit

Permalink
✨ 添加 keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
KomoriDev committed Jul 30, 2024
1 parent e6bc0a7 commit f8e78f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nonebot_plugin_wakatime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ async def _(

await (
UniMessage.text(f"前往该页面绑定 wakatime 账号:{auth_url}")
# .keyboard(Button("link", label="即刻前往", url=auth_url))
.finish(at_sender=True)
.keyboard(Button("link", label="即刻前往", url=auth_url))
.finish(at_sender=True, fallback=FallbackStrategy.ignore)
)

resp = await API.bind_user(code.result)
Expand Down

0 comments on commit f8e78f8

Please sign in to comment.