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):
|
class MyClient(discord.Client):
|
||||||
async def on_message(self, message):
|
async def on_message(self, message):
|
||||||
if message.author != self.user:
|
if message.author == self.user:
|
||||||
return
|
return
|
||||||
|
|
||||||
if message.content.startswith('$hello'):
|
if message.content.startswith('$hello'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user