Browse Source

Improve logging

master
Purpur 4 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] timings_url = timings_url.split("#")[0]
if "?id=" not in timings_url: if "?id=" not in timings_url:
return 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_host, timings_id = timings_url.split("?id=")
timings_json = timings_host + "data.php?id=" + timings_id timings_json = timings_host + "data.php?id=" + timings_id

Loading…
Cancel
Save