We have accomplished all items: from A to B

This commit is contained in:
AF 2024-05-15 12:33:03 +00:00
parent 9410d9e2af
commit fbfb95ef43
Signed by: alisa
SSH Key Fingerprint: SHA256:vNY4pdIZvO1FYJKHROkdHLtvyopizvZVAEwg9AF6h04

View File

@ -86,7 +86,7 @@ class Night(commands.Cog):
@commands.hybrid_command()
async def leetcode(self, ctx: commands.Context, url: str):
match = re.search(r"/problems/([a-z0-1\-]*)", url)
match = re.search(r"/problems/([a-z0-9\-]*)", url)
if not match:
await ctx.reply("invalid url")
return