Skip to content

fvckgrimm/discord-emote-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Emote Downloader

Discord Emote Downloader is a command-line tool that allows you to download emotes and stickers from Discord servers (guilds) you're a member of.

TODO:

  • Switch to ratatui for interactive mode

Features

  • Download emotes and stickers from specific Discord guilds
  • Dump guild information into a JSON file
  • Interactive mode to select guilds from a list
  • Option to download from all guilds at once

Installation

  1. Make sure you have Rust installed on your system. If not, you can install it from https://www.rust-lang.org/.

  2. Clone this repository:

git clone https://github.com/fvckgrimm/discord-emote-downloader && cd discord-emote-downloader
  1. Build the project:
cargo build --release
  1. The executable will be available in target/release/discord-emote-downloader.

Usage

Before using the tool, you need to set up your Discord token. Rename the ./example-settings.json file to settings.json in the same directory you'll be running the executable from and replace it with your token.

Basic Usage

Run the tool without any arguments to enter interactive mode:

./discord-emote-downloader

Command-line Options

  • -t, --token : Use specified token instead of loading from settings
  • -d, --dir : Directory where files should be created
  • -g, --guild <GUILD_ID>: Dump emotes from specified guild
  • -j, --json: Dump guild info into a JSON file instead of creating an archive

Examples

  1. Download emotes and stickers from a specific guild:
./discord-emote-downloader -g 1234567890
  1. Dump guild information to a JSON file:
./discord-emote-downloader -g 1234567890 -j
  1. Use a custom token and output directory:
./discord-emote-downloader -t your_token_here -d /path/to/output

Output

  • Emotes and stickers are saved in a ZIP archive named Emotes_Stickers_.zip in the ./emotes directory.
  • JSON dumps (when using the -j flag) are saved as .json in the ./emotes directory.

Logging

You can control the log level by setting the RUST_LOG environment variable. For example:

RUST_LOG=debug ./discord-emote-downloader

About

A Discord Sticker & Emote Downlaoder in rust 🦀.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages