From 686e5316240039bf14d2374912ae4f54fcb9b9ec Mon Sep 17 00:00:00 2001 From: HyperGH <46067571+HyperGH@users.noreply.github.com> Date: Tue, 27 Apr 2021 03:37:44 +0200 Subject: [PATCH] Adjust quickstart to not show commands example --- docs/quickstart.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 348c14c52..52553cd40 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.