|
|
|
@ -133,7 +133,7 @@ class DiscordClient(commands.Bot): |
|
|
|
|
|
|
|
async def ValidateUuidOnRegister(self, uuid): |
|
|
|
async with aiohttp.ClientSession(cookies={"secretkey":self.secret_key}) as session: |
|
|
|
async with session.get(f"{self.backend_url}/api/discord/validate?uuid={uuid}", ssl=False) as response: |
|
|
|
async with session.post(f"{self.backend_url}/api/discord/validate?uuid={uuid}", ssl=False) as response: |
|
|
|
steamIdContainer = await response.json() |
|
|
|
if steamIdContainer is None: |
|
|
|
return None |
|
|
|
|