aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Qwerty-133 <[email protected]>2021-08-29 01:43:45 +0530
committerGravatar Qwerty-133 <[email protected]>2021-08-29 01:43:45 +0530
commit1ffe27a82855ea3d49794aa6bf2618c05d673ae6 (patch)
tree4a9847197a8e7522abb7f1da10ed8c512be91dc1
parentAdd the UnambiguousMember converter (diff)
Fix mismatches in parameter names and docstrings
-rw-r--r--bot/converters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/converters.py b/bot/converters.py
index 597f841c4..97919cfb7 100644
--- a/bot/converters.py
+++ b/bot/converters.py
@@ -523,7 +523,7 @@ class UnambiguousUser(UserConverter):
"""
async def convert(self, ctx: Context, argument: str) -> discord.User:
- """Convert the `arg` to a `discord.User`."""
+ """Convert the `argument` to a `discord.User`."""
if _is_an_unambiguous_user_argument(argument):
return await super().convert(ctx, argument)
else:
@@ -539,7 +539,7 @@ class UnambiguousMember(MemberConverter):
"""
async def convert(self, ctx: Context, argument: str) -> discord.Member:
- """Convert the `arg` to a `discord.Member`."""
+ """Convert the `argument` to a `discord.Member`."""
if _is_an_unambiguous_user_argument(argument):
return await super().convert(ctx, argument)
else: