Fix typo in API documentation.
This commit is contained in:
@ -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'):
|
||||||
|
Reference in New Issue
Block a user