Fix typo in API documentation.

This commit is contained in:
stuarth 2019-02-03 16:13:01 -05:00 committed by Rapptz
parent a9860bd156
commit 5fa54d196e

View File

@ -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'):