mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix typo in API documentation.
This commit is contained in:
parent
a9860bd156
commit
5fa54d196e
@ -80,7 +80,7 @@ overriding the specific events. For example: ::
|
||||
|
||||
class MyClient(discord.Client):
|
||||
async def on_message(self, message):
|
||||
if message.author != self.user:
|
||||
if message.author == self.user:
|
||||
return
|
||||
|
||||
if message.content.startswith('$hello'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user