Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available: 6.13.0
metadata
title: Discord-utility
emoji: 💬
colorFrom: gray
colorTo: yellow
sdk: gradio
sdk_version: 3.23.0
app_file: app.py
fullWidth: false
tags:
- Discord
- Export
- UI
pinned: true
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Discord-Utility Is A Discord Message Exporter
This Python script allows you to export every message a specific Discord user ever sent in DMs and every message they ever sent in a Discord server.
Instructions to Run on your local PC
- Install the required dependencies. You can do this by running the following command:
pip install -r requirements.txt
- Save the script in a file with the name `discord-exporter.py`.Run the script by executing the following command:
<ol start="4">The Gradio interface will appear. Enter the Discord user ID, Discord bot token, and the output directory in the respective text boxes and click "Submit".</li>The script will then log in to the Discord client and start exporting messages. The exported messages will be saved in the output directory in two files: `messages.md` and `links.md`.</li>The script will log out of the Discord client and terminate.</li></ol>## Running in Debug Mode
If you want to run the script in debug mode, you can set the `DEBUG` variable to `True` at the top of the script like this:
DEBUG = True
When the script is run in debug mode, it will print additional information to the console, such as the messages being exported and the HTTP requests being made.