Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tempor1s/timed-auto-purge
A super super simple discord bot that is designed to purge the last 100 messages in a channel at a certain interval.
https://github.com/tempor1s/timed-auto-purge
Last synced: about 2 months ago
JSON representation
A super super simple discord bot that is designed to purge the last 100 messages in a channel at a certain interval.
- Host: GitHub
- URL: https://github.com/tempor1s/timed-auto-purge
- Owner: tempor1s
- Created: 2020-12-02T02:05:59.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-02T02:06:40.000Z (about 4 years ago)
- Last Synced: 2023-03-07T21:36:56.078Z (almost 2 years ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord Timed Auto Purge
A super super simple discord bot that is designed to purge the last 100 messages in a channel at a certain interval. Will only delete messages that are less than 2 weeks old. Config file required to be next to executed binary.
## Building
```bash
$ go build
```## Running
Make sure that all the fields in config.json are filled out and are in the same directory as the built executable.
Then, its just a single command and you are good to go!
```bash
$ ./timed-auto-purged (or whatever your binary is named)
```