I need an api for my discord server, it’s built in python and i want with a command that creates a room by http request.
import aiohttp
@commands.command()
async def w2g(self, ctx):
async with aiohttp.ClientSession() as session:
url = ‘https://www.watch2gether.com/rooms/create’
async with session.post(url) as resp:
await ctx.send(‘Here is your watch2gether url’)
await ctx.send(resp.url)
what i did