Skip to content

Tutorial

Ethorbit edited this page Oct 8, 2022 · 9 revisions

1. Export a channel to .json

Export Tutorial

2. Create the bot

New Application

  • Give it a name and press Create
  • On the left panel, click Bot

Bot tab

  • Click Add Bot
  • Copy the Token, you'll need this for later steps. (If you don't see a token, click "Reset")

Copy token

  • Turn on Message Content Intent so it can read messages.

Enable Message Intent

  • On the left panel again, click 'URL Generator' under OAuth2

URL generator

  • Under Scopes, check Bot

  • Under Bot Permissions, check Read Messages/View Channels, Send Messages, Manage Messages, Embed Links, Attach Files, Read Message History

  • Copy the URL generated under Scopes and paste it into your browser

Copy URL

  • Select the server you want the bot in

WARNING: DO NOT try to use the bot in multiple servers at once as it was designed to only support 1. Create more bots if you have to.

3. Download .NET 6

https://dotnet.microsoft.com/en-us/download/dotnet/6.0

4. Start the bot

  • Download the executable
  • Open the command line
  • Run the executable with the argument as the token:
    Windows "C:\Users\Joe\Downloads\Discord-Channel-Importer.exe" "MQENWQKNQWKRNWQRQOWR.WQEOJQWEODN3AKDNAKNXeIA"
    Linux "/home/Joe/Downloads/Discord-Channel-Importer" "MQENWQKNQWKRNWQRQOWR.WQEOJQWEODN3AKDNAKNXeIA"

5. Import the .json

  • Upload the .json you exported with DiscordChatExporter to a URL that will display its raw text:

    Dropbox If you upload a file to dropbox, there will be a "Copy Link" button. Simply add &raw=1 to the end.
    https://www.dropbox.com/s/c5rvkp/Ethorbit%27s%20server62220422552%5D.json?dl=0&raw=1
    
  • Inside the Discord server, type: !importer import (replace with url) #channel

If this doesn't work, you can get the channel ID and use that instead of the name: !importer import (replace with url) <#channel id here>

Import Preview

For more info, see: Commands

Clone this wiki locally