Skip to content

Instantly share code, notes, and snippets.

View ThatGuyJustin's full-sized avatar
💭
>:C

Justin ThatGuyJustin

💭
>:C
View GitHub Profile
@ThatGuyJustin
ThatGuyJustin / audit_dump.py
Created June 13, 2022 17:17
Dumps the discord audit log for your server. Paste in a bot token, and a guild it has access to the "VIEW_AUDIT_LOG" permission in, and it will output the raw json, and a little neater log file for you
import requests
import json
from datetime import datetime
import time
DATE_FILE = datetime.now().strftime("%b_%d_%Y-%H_%M_%S")
# Insert Token to be able to query the Audit Log
# BOT_TOKEN = "INSERT TOKEN HERE"

Keybase proof

I hereby claim:

  • I am thatguyjustin on github.
  • I am thatguyjustin (https://keybase.io/thatguyjustin) on keybase.
  • I have a public key ASBGEK2MBYH6Tuq1leOp0tuQNMRWiPTKZoOunqD267Ckxgo

To claim this, I am signing this object: