Scrape a discord channel of its messages
Go to file
Tyler Perkins 6aea13a56b Add script 2023-05-05 10:32:03 -04:00
output Add script 2023-05-05 10:32:03 -04:00
.gitignore Initial commit 2023-05-05 14:29:02 +00:00
README.md Add script 2023-05-05 10:32:03 -04:00
scrape.py Add script 2023-05-05 10:32:03 -04:00

README.md

Discord-scraper

Scrape a discord channel of its messages

Usage

BOT_TOKEN='mydiscordbottoken' python3 ./scrape.py <channel_id> <output_file>

Note that BOT_TOKEN is from the environment. The output of the above command will be placed in the passes file. The output will be a json file