We have accomplished all items: from A to B
This commit is contained in:
parent
9410d9e2af
commit
fbfb95ef43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user