Skip to content

Commit ac2dbc5

Browse files
authored
Merge pull request #62 from koreQAQ/UPDATE-scheduler-bot
UPDATE examples/advanced/scheduler-bot.py
2 parents 9ff0ff8 + e28b521 commit ac2dbc5

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)