diff options
| author | HyperGH <[email protected]> | 2021-04-27 03:37:44 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-26 21:37:44 -0400 |
| commit | 686e5316240039bf14d2374912ae4f54fcb9b9ec (patch) | |
| tree | 493e52f75d0a7072380a6c5ecab4c7213c269ab3 /docs/quickstart.rst | |
| parent | Add as_chunks helper function (diff) | |
| download | discord.py-686e5316240039bf14d2374912ae4f54fcb9b9ec.tar.xz discord.py-686e5316240039bf14d2374912ae4f54fcb9b9ec.zip | |
Adjust quickstart to not show commands example
Diffstat (limited to 'docs/quickstart.rst')
| -rw-r--r-- | docs/quickstart.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 348c14c5..52553cd4 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -54,8 +54,9 @@ There's a lot going on here, so let's walk you through it step by step. 4. Since the :func:`on_message` event triggers for *every* message received, we have to make sure that we ignore messages from ourselves. We do this by checking if the :attr:`Message.author` is the same as the :attr:`Client.user`. -5. Afterwards, we check if the :class:`Message.content` starts with ``'$hello'``. If it is, - then we send a message in the channel it was used in with ``'Hello!'``. +5. Afterwards, we check if the :class:`Message.content` starts with ``'$hello'``. If it does, + then we send a message in the channel it was used in with ``'Hello!'``. This is a basic way of + handling commands, which can be later automated with the :ref:`ext.commands` framework. 6. Finally, we run the bot with our login token. If you need help getting your token or creating a bot, look in the :ref:`discord-intro` section. |