Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
ShadiestGoat edited this page Jan 20, 2022 · 4 revisions

Installing

Using pre-built binaries

You can use pre-built binaries for this project. You can find them in the releases section of the github. Simply downlaod the correct release for your os :)

Note, you do not need golang installed to make these run ^^

Building from source

Before building this project, you need to have GoLang installed! This project is un-tested on versions earlier than 1.17.X.

  1. Download this repo (git clone https://github.com/ShadiestGoat/DiscordChatExporter.git, or "Download ZIP")

  2. open terminal & cd into the folder with go.mod

  3. Install dependencies: go get github.com/ShadiestGoat/DiscordChatExporter

  4. Build:

    • Only for your os: go build
    • Another os: GOOS=targetOS go build ((All targetOS values)[https://gist.github.com/lizkes/975ab2d1b5f9d5fdee5d3fa665bcfde6])
    • All OSes sh build.sh
  5. The newly created binary should be named DiscordChatExporter

Setup/Usage guide

  1. You need to grab your discord token. You can just google how to find it, but the easiest method is this:
    1. In your browser, log into discord
    2. Open up dev tools (ctrl+shift+i)
    3. If on firefox or it's forks, go into the "Storage" tab, otherwise go into the "Application" tab
    4. Unfold the "Local Storage" in the sidebar, and select the discord.com item
    5. In the filter/search bar, type token
    6. If nothing shows up, in the top left of the dev tools area, click the mobile icon (it looks like 2 rectangles)
    7. Bam thats your token (without quotes)
  2. Edit the .env file in accordance w/ the config docs
  3. Run the binary you got from the installation step :)
Clone this wiki locally