/discord-purge-channel

Clear Discord text channels

Primary LanguageGoMIT LicenseMIT

discord-purge-channel

Simple script to delete all messages of a Discord text channel. The source is annotated and deliberately kept simple.

Installation

go get github.com/schwarz/discord-purge-channel

Usage

DISCORD_TOKEN="Bot <token>" DISCORD_CHANNEL_ID=<channel id> ./discord-purge-channel

License

discord-purge-channel is released under the MIT license. See LICENSE for details.