to purge a whole channel you can now clone and delete the channel
purge a discord channel
- 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\#general
and 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