Skip to content

Commit

Permalink
add card action
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Jan 4, 2024
1 parent 4c8656c commit b583186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/routes/lark.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def get_bot(self, app_id):
@hook.on_bot_event(event_type="card:action")
def on_card_action(bot, token, data, *args, **kwargs):
app.logger.error("on_card_action %r", (bot, token, data, *args))
# TODO 将action中的按钮,或者选择的东西,重新组织成 command 继续走parser的逻辑


@hook.on_bot_message(message_type="text")
Expand Down

0 comments on commit b583186

Please sign in to comment.