mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-14 09:50:03 +00:00
Update quickstart.rst to not use "reply"
Replace the word "reply" since we are actually not using Message.reply
This commit is contained in:
parent
22cb4ef18b
commit
2e026a2dab
@ -11,7 +11,7 @@ if you don't check the :ref:`installing` portion.
|
|||||||
A Minimal Bot
|
A Minimal Bot
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
Let's make a bot that replies to a specific message and walk you through it.
|
Let's make a bot that responds to a specific message and walk you through it.
|
||||||
|
|
||||||
It looks something like this:
|
It looks something like this:
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ There's a lot going on here, so let's walk you through it step by step.
|
|||||||
sure that we ignore messages from ourselves. We do this by checking if the :attr:`Message.author`
|
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`.
|
is the same as the :attr:`Client.user`.
|
||||||
5. Afterwards, we check if the :class:`Message.content` starts with ``'$hello'``. If it is,
|
5. Afterwards, we check if the :class:`Message.content` starts with ``'$hello'``. If it is,
|
||||||
then we reply in the channel it was used in with ``'Hello!'``.
|
then we send a message in the channel it was used in with ``'Hello!'``.
|
||||||
6. Finally, we run the bot with our login token. If you need help getting your token or creating a bot,
|
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.
|
look in the :ref:`discord-intro` section.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user