Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
...