mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -05:00
docs: fix typos (#5989)
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
@@ -68,7 +68,7 @@ be replaced by the first argument of your alias:
|
||||
# this alias will execute the following command:
|
||||
[p]ban Slime#3160 7 Spam bot.
|
||||
|
||||
For a more detailed explaination, read :ref:`this <alias-command-alias-add>`.
|
||||
For a more detailed explanation, read :ref:`this <alias-command-alias-add>`.
|
||||
|
||||
.. _alias-commands:
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ find detailed docs about usage and commands.
|
||||
included in the cogs paths and it cannot be unloaded. It contains needed
|
||||
commands for cog management.
|
||||
|
||||
.. _cogmanaerui-usage:
|
||||
.. _cogmanagerui-usage:
|
||||
|
||||
-----
|
||||
Usage
|
||||
@@ -243,7 +243,7 @@ Shows the install path, or sets a new one.
|
||||
If you want to set a new path, the same rules as for
|
||||
:ref:`addpath <cogmanagerui-command-addpath>` apply
|
||||
|
||||
.. warning:: If you edit the install path, the cogs won't be transfered.
|
||||
.. warning:: If you edit the install path, the cogs won't be transferred.
|
||||
|
||||
**Arguments**
|
||||
|
||||
|
||||
@@ -1274,7 +1274,7 @@ embedset command server
|
||||
|
||||
**Description**
|
||||
|
||||
Sets a commmand's embed setting for the current server.
|
||||
Sets a command's embed setting for the current server.
|
||||
|
||||
If set, this is used instead of the server default to determine whether or not to use embeds.
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ Notice a few things in the above examples:
|
||||
self.config.<insert scope here, or nothing if global>.variable_name.set(new_value)
|
||||
|
||||
It is also possible to use :code:`async with` syntax to get and set config
|
||||
values. When entering the statement, the config value is retreived, and on exit,
|
||||
values. When entering the statement, the config value is retrieved, and on exit,
|
||||
it is saved. This puts a safeguard on any code within the :code:`async with`
|
||||
block such that if it breaks from the block in any way (whether it be from
|
||||
:code:`return`, :code:`break`, :code:`continue` or an exception), the value will
|
||||
@@ -262,7 +262,7 @@ Now let's see an example that uses multiple identifiers:
|
||||
from redbot.core import Config, commands, checks
|
||||
|
||||
|
||||
class ChannelAccesss(commands.Cog):
|
||||
class ChannelAccess(commands.Cog):
|
||||
def __init__(self):
|
||||
self.config = Config.get_conf(self, identifier=1234567890)
|
||||
default_access = {
|
||||
|
||||
@@ -20,7 +20,7 @@ window like this:
|
||||
|
||||
.. image:: .resources/red-console.png
|
||||
|
||||
.. _gettings-started-invite:
|
||||
.. _getting-started-invite:
|
||||
|
||||
-------------------------
|
||||
Invite Red to your server
|
||||
|
||||
@@ -35,7 +35,7 @@ Installing the pre-requirements
|
||||
We recommend installing pyenv as a method of installing non-native versions of Python on
|
||||
Raspberry Pi OS. This guide will tell you how. First, run the following commands:
|
||||
|
||||
.. cmake is necessary to be able to successfuly build rapidfuzz.
|
||||
.. cmake is necessary to be able to successfully build rapidfuzz.
|
||||
|
||||
.. prompt:: bash
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ Manually installing dependencies
|
||||
|
||||
.. attention:: There are additional configuration steps required which are
|
||||
not documented for installing dependencies manually.
|
||||
These dependencies are only listed seperately here for
|
||||
These dependencies are only listed separately here for
|
||||
reference purposes.
|
||||
|
||||
* `MSVC Build tools <https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2019>`_
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.. This file will be run at the beginning of all files.
|
||||
You can add the subsitutions you need.
|
||||
You can add the substitutions you need.
|
||||
|
||||
.. this is a .txt so sphinx doesn't error because it's
|
||||
missing in the index
|
||||
|
||||
Reference in New Issue
Block a user