Discord-Scraper
Discord-Scraper copied to clipboard
[Question] Scrape Welcome channel
Is it possible to use this to scrape a specific channel for user IDs in X time? Currently getting raided and getting about 250-300 users joining and manually grabbing their IDs is becoming rather irritable. Thanks.
I would probably suggest looking into anti-raid mechanisms because this script doesn't offer any sort of assistance with moderation tasks as-is.
This repository could be modified to add such functionality but it's not going to be fast nor ideal for such a task since it works by finding the day of the most recent message in a channel and then it slowly works its way back in an attempt to avoid hitting the ratelimiter.
If the message(s) they're sending is the same then you could set up a moderation bot to automatically delete said messages which might get them to stop for a moment while they reconfigure their script to circumvent detection, you could also go as far as auto-banning anyone who sends that exact message but be aware that anyone who decides to do so in a cheeky manner will end up added to that banlist.
One such server that I was a part of that found itself subject to botted spam raids eluded most of the spam bots out there by implementing a captcha bot system for new joiners to the server. This isn't 100% fool-proof but it filters out the majority of skids out there who are raiding at any given moment.