aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/converters.py
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-15 12:10:29 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-15 12:10:29 -0400
commit8dd9e9cebd2496dc2e7e82569deb2fa9f1a5f89f (patch)
treeb763714dbd91578e15debd741921a2e604bd6c8b /bot/utils/converters.py
parentchore: Reformat bot/utils/__init__.py (diff)
parentMerge pull request #736 from python-discord/concurrency-action (diff)
fix: Resolve merge conflicts again
Diffstat (limited to 'bot/utils/converters.py')
-rw-r--r--bot/utils/converters.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/utils/converters.py b/bot/utils/converters.py
index 9e9616d8..fe2c980c 100644
--- a/bot/utils/converters.py
+++ b/bot/utils/converters.py
@@ -8,8 +8,7 @@ from discord.ext import commands
class WrappedMessageConverter(commands.MessageConverter):
"""A converter that handles embed-suppressed links like <http://example.com>."""
- @staticmethod
- async def convert(ctx: commands.Context, argument: str) -> discord.Message:
+ async def convert(self, ctx: commands.Context, argument: str) -> discord.Message:
"""Wrap the commands.MessageConverter to handle <> delimited message links."""
# It's possible to wrap a message in [<>] as well, and it's supported because its easy
if argument.startswith("[") and argument.endswith("]"):