diff --git a/changelog.d/3427.misc.rst b/changelog.d/3427.misc.rst new file mode 100644 index 000000000..4ff7f6324 --- /dev/null +++ b/changelog.d/3427.misc.rst @@ -0,0 +1 @@ +Typo fixes in doc strings. \ No newline at end of file diff --git a/changelog.d/trivia/3427.bugfix.rst b/changelog.d/trivia/3427.bugfix.rst new file mode 100644 index 000000000..7fc6be355 --- /dev/null +++ b/changelog.d/trivia/3427.bugfix.rst @@ -0,0 +1 @@ +Trivia list typo fixes. \ No newline at end of file diff --git a/docs/framework_apikeys.rst b/docs/framework_apikeys.rst index 2a67d9c45..adc72a7ee 100644 --- a/docs/framework_apikeys.rst +++ b/docs/framework_apikeys.rst @@ -6,7 +6,7 @@ Shared API Keys Red has a central API key storage utilising the core bots config. This allows cog creators to add a single location to store API keys for their cogs which may be shared between other cogs. -There needs to be some consistency between cog creators when using shared API keys between cogs. To help make this easier service should be all **lowercase** and the key names should match the naming convetion of the API being accessed. +There needs to be some consistency between cog creators when using shared API keys between cogs. To help make this easier service should be all **lowercase** and the key names should match the naming convention of the API being accessed. Example: diff --git a/docs/framework_commands.rst b/docs/framework_commands.rst index 63e29f34a..19a124ecd 100644 --- a/docs/framework_commands.rst +++ b/docs/framework_commands.rst @@ -7,7 +7,7 @@ Commands Package This package acts almost identically to :doc:`discord.ext.commands `; i.e. all of the attributes from discord.py's are also in ours. Some of these attributes, however, have been slightly modified, while others have been added to -extend functionlities used throughout the bot, as outlined below. +extend functionalities used throughout the bot, as outlined below. .. autofunction:: redbot.core.commands.command diff --git a/redbot/cogs/alias/alias.py b/redbot/cogs/alias/alias.py index d695c7bd0..9c14f9352 100644 --- a/redbot/cogs/alias/alias.py +++ b/redbot/cogs/alias/alias.py @@ -90,7 +90,7 @@ class Alias(commands.Cog): def is_command(self, alias_name: str) -> bool: """ - The logic here is that if this returns true, the name shouldnt be used for an alias + The logic here is that if this returns true, the name should not be used for an alias The function name can be changed when alias is reworked """ command = self.bot.get_command(alias_name) diff --git a/redbot/cogs/mod/events.py b/redbot/cogs/mod/events.py index d63a6c74f..be6f4f2b1 100644 --- a/redbot/cogs/mod/events.py +++ b/redbot/cogs/mod/events.py @@ -101,7 +101,7 @@ class Events(MixinMeta): while None in name_list: # clean out null entries from a bug name_list.remove(None) if after.name in name_list: - # Ensure order is maintained without duplicates occuring + # Ensure order is maintained without duplicates occurring name_list.remove(after.name) name_list.append(after.name) while len(name_list) > 20: diff --git a/redbot/cogs/mod/kickban.py b/redbot/cogs/mod/kickban.py index 37182518c..2b7c57d3f 100644 --- a/redbot/cogs/mod/kickban.py +++ b/redbot/cogs/mod/kickban.py @@ -95,7 +95,7 @@ class KickBanMixin(MixinMeta): except discord.Forbidden: return _("I'm not allowed to do that.") except Exception as e: - return e # TODO: impproper return type? Is this intended to be re-raised? + return e # TODO: improper return type? Is this intended to be re-raised? if create_modlog_case: try: diff --git a/redbot/cogs/trivia/data/lists/clashroyale.yaml b/redbot/cogs/trivia/data/lists/clashroyale.yaml index f353bbdd5..e3a1993ec 100644 --- a/redbot/cogs/trivia/data/lists/clashroyale.yaml +++ b/redbot/cogs/trivia/data/lists/clashroyale.yaml @@ -61,7 +61,7 @@ At which Arena can you unlock X-Bow?: - 6 - Builder's Workshop At which Arena do you get a chance for Legendary cards to appear in the shop?: -- Hog Mountian +- Hog Mountain - A10 - 10 - Arena 10 diff --git a/redbot/cogs/trivia/data/lists/entertainment.yaml b/redbot/cogs/trivia/data/lists/entertainment.yaml index b7726b848..4bf1e7c16 100644 --- a/redbot/cogs/trivia/data/lists/entertainment.yaml +++ b/redbot/cogs/trivia/data/lists/entertainment.yaml @@ -375,7 +375,7 @@ Porky Pig had a girlfriend named ________?: Randy Travis said his love was 'deeper than the ______'?: - Holler Richard Strauss' majestic overture "Also Sprach Zarathustra" was the theme music for which Stanley Kubrick film?: -- "2001: A Space Odyessy" +- "2001: A Space Odyssey" Rolling Stones first hit was written by what group?: - The Beatles Russian modernist Igor _________?: diff --git a/redbot/core/drivers/base.py b/redbot/core/drivers/base.py index cc408b131..3d4ac42e3 100644 --- a/redbot/core/drivers/base.py +++ b/redbot/core/drivers/base.py @@ -271,7 +271,7 @@ class BaseDriver(abc.ABC): The driver must be initialized before this operation. - The BaseDriver provides a generic method which may be overriden + The BaseDriver provides a generic method which may be overridden by subclasses. Parameters diff --git a/redbot/core/drivers/json.py b/redbot/core/drivers/json.py index 60ee86ae5..e1196ff4a 100644 --- a/redbot/core/drivers/json.py +++ b/redbot/core/drivers/json.py @@ -217,7 +217,7 @@ class JsonDriver(BaseDriver): def _save_json(path: Path, data: Dict[str, Any]) -> None: """ - This fsync stuff here is entirely neccessary. + This fsync stuff here is entirely necessary. On windows, it is not available in entirety. If a windows user ends up with tons of temp files, they should consider hosting on diff --git a/redbot/core/utils/antispam.py b/redbot/core/utils/antispam.py index 8135b8330..b2b6c9b33 100644 --- a/redbot/core/utils/antispam.py +++ b/redbot/core/utils/antispam.py @@ -21,7 +21,7 @@ class AntiSpam: # TODO : Decorator interface for command check using `spammy` # with insertion of the antispam element into context - # for manual stamping on succesful command completion + # for manual stamping on successful command completion default_intervals = [ (timedelta(seconds=5), 3),