-
-
Notifications
You must be signed in to change notification settings - Fork 9
Tutorial
- Download DiscordChatExporter
- Use DiscordChatExporter to export a channel to .json format:
- Go to: https://discord.com/developers/applications
- Click "New Application" on the top-right.
- Give it a name and press
Create
- On the left panel, click
Bot
- Click
Add Bot
- Copy the Token, you'll need this for later steps. (If you don't see a token, click "Reset")
- Turn on
Message Content Intent
so it can read messages.
- On the left panel again, click 'URL Generator' under
OAuth2
-
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
- 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.
https://dotnet.microsoft.com/en-us/download/dotnet/6.0
- 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"
-
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>
For more info, see: Commands