Grammar fixes (#4500)

* Grammar fixes

* More changes

* Grammar

* Error grammar

* Spelling

* Grammar

* REsolves grammar

* grammar

* grammar

* grammar

* grammar

* grammar

* grammar

* grammar

* grammar

* "commited" > "committed"

* apostrophe

* more grammar

* grammar

* `funtion` to `function`

* grammar in alias cog

* grammar in cleanup cog

* grammar in customcom cog

* grammar in mod cog

* grammar in reports cog

* fix grammar in streams cog

* missing apostrophe

* grammar fix in trivia cog

Co-authored-by: Jyu Viole Grace <24418520+thisisjvgrace@users.noreply.github.com>
Co-authored-by: Jyu Viole Grace <thisisjvgrace@users.noreply.github.com>
This commit is contained in:
Stonedestroyer
2020-10-18 09:52:56 +02:00
committed by GitHub
parent 963b8b0d29
commit 08bd0567ad
25 changed files with 50 additions and 50 deletions

View File

@@ -134,7 +134,7 @@ class CogCommandMixin:
return ctx.clean_prefix
if s == "[botname]":
return ctx.me.display_name
# We shouldnt get here:
# We shouldn't get here:
return s
return formatting_pattern.sub(replacement, text)
@@ -268,7 +268,7 @@ class Command(CogCommandMixin, DPYCommand):
None of your methods should start with ``red_`` or
be dunder names which start with red (eg. ``__red_test_thing__``)
unless to override behavior in a method designed to be overriden,
unless to override behavior in a method designed to be overridden,
as this prefix is reserved for future methods in order to be
able to add features non-breakingly.
@@ -655,7 +655,7 @@ class Command(CogCommandMixin, DPYCommand):
@a_command.error
async def a_command_error_handler(self, ctx, error):
if isinstance(error.original, MyErrrorType):
if isinstance(error.original, MyErrorType):
self.log_exception(error.original)
else:
await ctx.bot.on_command_error(ctx, error.original, unhandled_by_cog=True)
@@ -815,7 +815,7 @@ class Group(GroupMixin, Command, CogGroupMixin, DPYGroup):
return await ctx.send_help()
elif self.invoke_without_command:
# So invoke_without_command when a subcommand of this group is invoked
# will skip the the invokation of *this* command. However, because of
# will skip the invocation of *this* command. However, because of
# how our permissions system works, we don't want it to skip the checks
# as well.
if not await self.can_run(ctx, change_permission_state=True):
@@ -877,8 +877,8 @@ class CogMixin(CogGroupMixin, CogCommandMixin):
Raises
------
RedUnhandledAPI
If the method was not overriden,
or an overriden implementation is not handling this
If the method was not overridden,
or an overridden implementation is not handling this
"""
raise RedUnhandledAPI()
@@ -960,8 +960,8 @@ class CogMixin(CogGroupMixin, CogCommandMixin):
Raises
------
RedUnhandledAPI
If the method was not overriden,
or an overriden implementation is not handling this
If the method was not overridden,
or an overridden implementation is not handling this
"""
raise RedUnhandledAPI()
@@ -1028,7 +1028,7 @@ class Cog(CogMixin, DPYCog, metaclass=DPYCogMeta):
None of your methods should start with ``red_`` or
be dunder names which start with red (eg. ``__red_test_thing__``)
unless to override behavior in a method designed to be overriden,
unless to override behavior in a method designed to be overridden,
as this prefix is reserved for future methods in order to be
able to add features non-breakingly.