Include --no-cogs flag in Updating Red document (#6123)

This commit is contained in:
Jakub Kuczys 2023-05-04 08:16:36 +02:00 committed by GitHub
parent b52f7ede46
commit d7455ff568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,16 +110,17 @@ If you have a Red version between 3.2.0 and 3.4.19, you can upgrade by following
If you're using PostgreSQL data backend, replace ``Red-DiscordBot`` in the second command with ``Red-DiscordBot[postgres]`` If you're using PostgreSQL data backend, replace ``Red-DiscordBot`` in the second command with ``Red-DiscordBot[postgres]``
#. If you're using **any** 3rd-party cogs: #. If you're using **any** 3rd-party cogs:
#. Start your bot with ``--load-cogs downloader`` flag, for example: #. Start your bot with ``--no-cogs --load-cogs downloader`` flags, for example:
.. prompt:: batch .. prompt:: batch
:prompts: (redenv) C:\\> :prompts: (redenv) C:\\>
redbot <your instance name> --load-cogs downloader redbot <your instance name> --no-cogs --load-cogs downloader
#. Wait for the bot to start. #. Wait for the bot to start.
#. Run the ``[p]cog update`` command on Discord and wait for it to finish. #. Run the ``[p]cog update`` command on Discord.
#. Wait for the bot to stop typing and send a response. This step may take a while.
#. Shutdown the bot with the ``[p]shutdown`` command. #. Shutdown the bot with the ``[p]shutdown`` command.
#. Start your bot as you normally do. #. Start your bot as you normally do.
@ -154,15 +155,16 @@ If you have a Red version between 3.2.0 and 3.4.19, you can upgrade by following
If you're using PostgreSQL data backend, replace ``Red-DiscordBot`` in the second command with ``Red-DiscordBot[postgres]`` If you're using PostgreSQL data backend, replace ``Red-DiscordBot`` in the second command with ``Red-DiscordBot[postgres]``
#. **If you're using any 3rd-party cogs:** #. **If you're using any 3rd-party cogs:**
#. Start your bot with ``--load-cogs downloader`` flag, for example: #. Start your bot with ``--no-cogs --load-cogs downloader`` flags, for example:
.. prompt:: bash .. prompt:: bash
:prompts: (redenv) $ :prompts: (redenv) $
redbot <your instance name> --load-cogs downloader redbot <your instance name> --no-cogs --load-cogs downloader
#. Wait for the bot to start. #. Wait for the bot to start.
#. Run the ``[p]cog update`` command on Discord and wait for it to finish. #. Run the ``[p]cog update`` command on Discord.
#. Wait for the bot to stop typing and send a response. This step may take a while.
#. Shutdown the bot with the ``[p]shutdown`` command. #. Shutdown the bot with the ``[p]shutdown`` command.
#. Start your bot as you normally do. #. Start your bot as you normally do.