Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (23 loc) · 928 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 928 Bytes

Discord

Script which fetches all messages from all guilds visible when ran docker-compose-discord.yml Important: Do not change mount points, because it's hardcoded in in other docker-compose files

Sample output

  • <GUILD_ID_1>
    • <CHANNEL_ID_1>
      • channel.json
    • <CHANNEL_ID_2>
    • <CHANNEL_ID_3>
    • channels.json
  • <GUILD_ID_2>
  • <GUILD_ID_3>
  • guilds.json

And writes it to output. If given input has invalid structure then given file will be ignored

Running locally

  • Create env file from .env with your token
  • Run docker-compose -f docker-compose-discord.yml up

When developing

  • Comment out line 3 in Dockerfile-discord
  • Add all mounts from docker-compose-discord.yml to docker-compose-build-discord.yml
  • Create env file from .env with your token
  • Move docker-compose-build-discord.yml file to /analyzer/ folder
  • Run docker-compose -f docker-compose-build-discord.yml up --build