Purpur
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
cogs/linking_updater.py
|
@ -42,6 +42,7 @@ class Linking_updater(commands.Cog): |
|
|
async with aiohttp.ClientSession() as session: |
|
|
async with aiohttp.ClientSession() as session: |
|
|
async with session.get(url, headers=headers) as response: |
|
|
async with session.get(url, headers=headers) as response: |
|
|
if response.status == 200: |
|
|
if response.status == 200: |
|
|
|
|
|
logging.info("200") |
|
|
# Formats response for servers in JSON format |
|
|
# Formats response for servers in JSON format |
|
|
servers_json_response = await response.json() |
|
|
servers_json_response = await response.json() |
|
|
|
|
|
|
|
|