We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ff0ff8 + e28b521 commit ac2dbc5Copy full SHA for ac2dbc5
examples/advanced/scheduler-bot.py
@@ -33,7 +33,7 @@ def __init__(self):
33
self.busy = False
34
self.auto_reply_comment = "Automatic Reply: I cannot read your message because I'm busy now, will talk to you when I get back."
35
36
- async def message(self, msg: Message):
+ async def on_message(self, msg: Message):
37
"""back on message"""
38
from_contact = msg.talker()
39
text = msg.text()
0 commit comments