async def Create(name, user: discord.User): url = f"{os.getenv('DOCKER_URL')}/api/application.create" headers = { "x-api-key": f"{os.getenv('DOCKER_TOKEN')}", "Content-Type": "application/json", } project_id = "AnhFqj439TjExphKiI7-x" data = { "name": str(name), "appName": f"custom-{name}", "description": f"{user.id} - {datetime.now().isoformat()}", "projectId": project_id, "serverId": "H1bFqj439TjExphKiI7-x", } async with aiohttp.ClientSession() as session: async with session.post(url, headers=headers, json=data) as response: if response.status == 200: Response = await response.json() return Response[0]["result"]["data"]["json"]["applicationId"] else: print(await response.text()) return None