Browse Source

Improve logging

pull/17/head
Purpur 3 years ago
committed by GitHub
parent
commit
6e89f39dbc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cogs/timings.py

2
cogs/timings.py

@ -51,7 +51,7 @@ class Timings(commands.Cog):
timings_url = timings_url.split("#")[0]
if "?id=" not in timings_url:
return
logging.info(timings_url)
logging.info(f'Timings analyzed from {message.author} ({message.author.id}): {timings_url}')
timings_host, timings_id = timings_url.split("?id=")
timings_json = timings_host + "data.php?id=" + timings_id

Loading…
Cancel
Save