aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-07-15 12:59:48 +0200
committerGravatar Leon Sandøy <[email protected]>2020-07-15 12:59:48 +0200
commit14141a25bb87c298afae89886cb0ca3df65b9dee (patch)
treeebe2a9e688a964d58c90f72fb6c8a8c06af1e1cd
parentHow did that except except block get in? (diff)
Oops, these prints shouldn't be here.
https://github.com/python-discord/bot/issues/1041
-rw-r--r--bot/converters.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bot/converters.py b/bot/converters.py
index 7c62f92dd..4a0633951 100644
--- a/bot/converters.py
+++ b/bot/converters.py
@@ -341,11 +341,8 @@ class UserMentionOrID(UserConverter):
async def convert(self, ctx: Context, argument: str) -> discord.User:
"""Convert the `arg` to a `discord.User`."""
- print(argument)
match = self._get_id_match(argument) or re.match(r'<@!?([0-9]+)>$', argument)
- print(match)
-
if match is not None:
return await super().convert(ctx, argument)
else: