Skip to content

监听无效果 -- Ineffectiveness Monitoring #757

Open

Description

@Kewuaipao
  • 对 Bug 的描述

    • 当前行为:监听无回复
    • 正确的行为:当监听过程中收到消息时,自动回复"Hello World"
  • 环境

  • 复现代码或 repo 链接

import werobot

robot = werobot.WeRoBot(token='tokenhere')

@robot.handler
def hello(message):
    return 'Hello World!'

# 让服务器监听在 0.0.0.0:800
robot.config['HOST'] = '0.0.0.0'
robot.config['PORT'] = 800
robot.run()

# 请在这里给出 bug 的复现代码。如有必要,可以创建一个复现 repo 并将链接粘贴到这里。
  • 复现步骤

  • 其他信息

Activity

  1. Kewuaipao commented on Oct 2, 2022

    @Kewuaipao
    Author

    监听设置800是因为80似乎已占用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions