diff options
author | 2021-05-15 12:10:29 -0400 | |
---|---|---|
committer | 2021-05-15 12:10:29 -0400 | |
commit | 8dd9e9cebd2496dc2e7e82569deb2fa9f1a5f89f (patch) | |
tree | b763714dbd91578e15debd741921a2e604bd6c8b /bot/utils/converters.py | |
parent | chore: Reformat bot/utils/__init__.py (diff) | |
parent | Merge 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.py | 3 |
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("]"): |