- Create a
.env
file in the root directory and set a value forDISCORD_TOKEN
. - Get
guild
andchannel
IDs using theTyrrrz / DiscordChatExporter
CLI. - Make changes to
config.json
as per requirement. - Make
export.sh
executable by runningsudo chmod +x export.sh
. - Run
./export.sh
to export data.
Run docker run tyrrrz/discordchatexporter -h
for CLI help.