Closed jcevo closed 1 year ago
from aiowerobot import AioWeRoBot
robot = AioWeRoBot(app_id='', app_secret='', token='')
async def do():
return
@robot.handler
async def hello(message):
await do()
return 'Hello World!'
config = {'host': '0.0.0.0', 'port': 8099}
robot.run(**config)
from aiowerobot import AioWeRoBot
robot = AioWeRoBot(app_id='', app_secret='', token='')
@robot.handler async def hello(message): return 'Hello World!'
config = {'host': '0.0.0.0', 'port': 8099} robot.run(**config)