Fixed docs incorrect ref
@@ -21,7 +21,7 @@ Adding a slash command is a two part process.
Add a slash command on Discord
---------------------------------
-If you want your commands automatically registered, set ``auto_register`` to ``True`` at :class:`.client.SlashCommand`.
+If you want your commands automatically registered, set ``sync_commands`` to ``True`` at :class:`.client.SlashCommand`.
.. code-block:: python
@@ -117,7 +117,7 @@ Pretty much anything from the discord's commands extension doesn't work, also so
.. warning::
If you use something that might take a while, eg ``wait_for`` you'll run into two issues:
- 1. If you don't respond within 3 seconds (``ctx.response()``) discord invalidates the interaction.
+ 1. If you don't respond within 3 seconds (``ctx.respond()``) discord invalidates the interaction.
2. The interaction only lasts for 15 minutes, so if you try and send something with the interaction (``ctx.send``) more than 15 mins after the command was ran it won't work.
As an alternative you can use ``ctx.channel.send`` but this relies on the the bot being in the guild, and the bot having send perms in that channel.
