Skip to content

Commit

Permalink
fix(ex04): typo (#195)
Browse files Browse the repository at this point in the history
* fix: renmae `roll()` to `world()`

DESC: According to the functionality, the function is built by
extending `ex01.py`, thus it's more natural to use the function
`world()`
  • Loading branch information
catbaron0 authored Feb 8, 2023
1 parent 227a447 commit 5b8ad61
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 5b8ad61

Please sign in to comment.