Skip to content

Commit

Permalink
fix(ex04.py): fix typos
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 committed Feb 5, 2023
1 parent 227a447 commit eb38082
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 eb38082

Please sign in to comment.