Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xrstf/discorddump
Dumps Discord guilds and channels to JSON files
https://github.com/xrstf/discorddump
archive backup discord go
Last synced: about 6 hours ago
JSON representation
Dumps Discord guilds and channels to JSON files
- Host: GitHub
- URL: https://github.com/xrstf/discorddump
- Owner: xrstf
- Created: 2018-11-30T15:08:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-02T13:04:00.000Z (about 6 years ago)
- Last Synced: 2024-12-17T13:52:23.766Z (6 days ago)
- Topics: archive, backup, discord, go
- Language: Go
- Size: 171 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DiscordDump
This program can be used to dump all messages in all guilds that the configured
user has access to. Each channel will result in a single large logfile with one
message (as JSON) per line.## Usage
go get github.com/xrstf/discorddump
Create a config file (look at the `config.yaml.dist`) and then run the program
like:./discorddump myconfig.yaml
To only go back to a certain point in time, add the `-cutoff` parameter with a
`YYYY-MM-DD` value:./discorddump -cutoff 2018-10-10 myconfig.yaml
When re-running the program, it will search through existing logfiles to find
the oldest known message and continue the process from there, so you can
gradually broaden your archive by lowering the cutoff on every invocation:./discorddump -cutoff 2018-10-10 myconfig.yaml
./discorddump -cutoff 2018-08-10 myconfig.yaml
./discorddump -cutoff 2018-06-10 myconfig.yaml
...