🌟lc
This commit is contained in:
parent
bb85c7b875
commit
0413e9fe13
@ -84,7 +84,7 @@ class Night(commands.Cog):
|
|||||||
print("synced")
|
print("synced")
|
||||||
await ctx.reply("synced")
|
await ctx.reply("synced")
|
||||||
|
|
||||||
@commands.hybrid_command()
|
@commands.hybrid_command(aliases=["lc"])
|
||||||
async def leetcode(self, ctx: commands.Context, url: str):
|
async def leetcode(self, ctx: commands.Context, url: str):
|
||||||
match = re.search(r"/problems/([a-z0-9\-]*)", url)
|
match = re.search(r"/problems/([a-z0-9\-]*)", url)
|
||||||
if not match:
|
if not match:
|
||||||
|
Loading…
Reference in New Issue
Block a user