Files

22 lines
258 B
Python

# -*- coding: utf-8 -*-
import werobot
robot = werobot.WeRoBot(token='tokenhere')
@robot.filter("帮助")
def show_help(message):
return """
帮助
XXXXX
"""
@robot.text
def hello_world(message):
return 'Hello World!'
robot.run()