im fairly new to discord.py (currently using nextcord) and id like to create a simple function that takes a moment. however if this command is already running and another person runs the command. the bot will wait for the first one to finish before going to the next one. is there a way to run this function twice in parreral without blocking eachother?
async def get_screenshot(ctx, url):
options = Options()
driver = webdriver.Firefox(options=options)
driver.get(url)
asyncio.sleep(timetowait)
driver.screenshot('picture.png')
file = nextcord.File('picture.png', filename='picture.png')
await ctx.send(file=file, "test")
driver.quit()