Browse Source

Fix typo in API documentation.

pull/1887/head
stuarth 6 years ago
committed by Rapptz
parent
commit
5fa54d196e
  1. 2
      docs/api.rst

2
docs/api.rst

@ -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…
Cancel
Save