The Wayback Machine - https://web.archive.org/web/20200906024923/https://github.com/SilBoydens/discord-purge-channel
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

README.md

depricated

to purge a whole channel you can now clone and delete the channel

discord-purge-channel

purge a discord channel

usage

  1. 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
  1. 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
  • example
  1. 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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.