Skip to content

Discord Binding V1


ddaemon-monorepo/binding-discord at main ยท dentropy/ddaemon-monorepo

README

Requirements

Scraping

git clone keybase://team/dentropydaemon/ddaemon-monorepo
cd ddaemon-monorepo/discord-binding
mkdir inputs

# Export your guilds
docker run -v \
  `pwd`:/app/out tyrrrz/discordchatexporter:stable exportguild \
  -t "DISCORD_USER_TOKEN" -g GUILD_ID \
  --dateformat "yyyy-MM-dd H:mm:ss.ffff"\
   -f Json -p 80mb

Indexing

cd ddaemon-monorepo
cp .env_sample .env

# Edit .env file with environment variables
vim .env

## RUN THESE ONE AT A TIME
cd discord-binding
npm install
node index.js
cd ..
bash ./discord-binding/test_connection.sh
bash ./discord-binding/set_mapping.sh
bash ./discord-binding/delete_index.sh
bash ./discord-binding/elastic_index.sh
bash ./discord-binding/set_mapping.sh