Skip to content

Commit

Permalink
Update ex04.py
Browse files Browse the repository at this point in the history
怀疑是一个typo。
从函数的功能来看应该是对 `ex01.py ` 的扩展,沿用 `world()` 函数名更自然。
  • Loading branch information
catbaron0 authored Jan 19, 2023
1 parent 227a447 commit d7d07fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/ex04_reply/ex04.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# register command
# invoke this via saying `!hello` in channel
@bot.command(name='hello')
async def roll(msg: Message):
async def world(msg: Message):
# quote reply
await msg.reply('world for you!')
# msg from reply_temp & send_temp will be cleaned when you restart client or refresh browser
Expand Down

0 comments on commit d7d07fb

Please sign in to comment.