Your Name 3 年之前
父节点
当前提交
095e028067
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      step_question/apis/newbot.py

+ 1 - 1
step_question/apis/newbot.py

@@ -66,7 +66,7 @@ async def callback(request: fastapi.Request):
 @handler.add(FollowEvent)
 @handler.add(FollowEvent)
 def handle_follow(event):
 def handle_follow(event):
     print("in Follow")
     print("in Follow")
-
+    print(event.source.user_id)
 
 
     button_template_message =ButtonsTemplate(
     button_template_message =ButtonsTemplate(
                                     thumbnail_image_url="https://cal.ptt.cx:5443/static/images/coupon.png",
                                     thumbnail_image_url="https://cal.ptt.cx:5443/static/images/coupon.png",