This commit is contained in:
AF 2024-05-16 23:52:19 +00:00
parent 37ea0c7eee
commit 3de4fc0f75
Signed by: alisa
SSH Key Fingerprint: SHA256:vNY4pdIZvO1FYJKHROkdHLtvyopizvZVAEwg9AF6h04

View File

@ -124,6 +124,12 @@ class Night(commands.Cog):
return
await message.pin()
@commands.command()
async def lcmany(self, ctx: commands.Context, *urls: str):
async with asyncio.TaskGroup() as tg:
for url in urls:
tg.create_task(self.leetcode(ctx, url))
@commands.hybrid_command()
async def tex(self, ctx: commands.Context, *, code: Annotated[list[str], CodeblockConverter]):
print(code)