Skip to content

Commit e28b521

Browse files
committed
FIX examples/advanced/scheduler-bot.py
修复方法重写错误
1 parent de56f4d commit e28b521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/advanced/scheduler-bot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self):
3333
self.busy = False
3434
self.auto_reply_comment = "Automatic Reply: I cannot read your message because I'm busy now, will talk to you when I get back."
3535

36-
async def message(self, msg: Message):
36+
async def on_message(self, msg: Message):
3737
"""back on message"""
3838
from_contact = msg.talker()
3939
text = msg.text()

0 commit comments

Comments
 (0)