depricated
to purge a whole channel you can now clone and delete the channel
discord-purge-channel
purge a discord channel
usage
- get your discord token
- this can be your own token or a bot token
- if you don't know how to get your own token then don't do it (security reasons)
- getting a bot token
- get the channel ID
- either use dev mode (if you know dev mode then you know how to use it)
- or use this trick:
- type the channel name with a
\in front, so to get the ID of #general, type\#generaland send that message, only take the numbers out of the responds
- now open any cli in the map with the exe file, and run
WINDOWS: ./discord-purge-channel.exe <TOKEN> <CHANNEL_ID>
LINUX: ./discord-purge-channel <TOKEN> <CHANNEL_ID>
MAC: compiling error
replacing <TOKEN> and <channel_ID> with the corresponding values
4. you will see the last message of this channel and need to press Y or enter to start clearing the channel
TODO:
- remake this file
- questions using cli input for needed info
- rewrite the code to not look so ugly...
- upload the code and make it OPEN-source

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

