A personal-use Discord app created to replicate the useful functionality of ye selfbots of olde with official bot APIs.
- Git
- Docker
git clone https://github.com/Kyza/discord_selfbot.git
cd discord_selfbot
Create a copy of the example.config.ron
file and rename it to config.ron
. Then edit it to your situation.
You'll need to create a bot on the Discord developer portal and get the token and application ID for it.
Make sure you enable the User Install
installation context. It's also recommended that you disable Public Bot
as well.
Use the Discord-provided installation link to install the bot on your account.
docker compose up
This might take a while the first time you run it.
By default the bot should send messages as non-ephemeral, but if you want to make it ephemeral you can use the ephemeral
argument.
As long as you don't change any files you can use update_restart.cmd
to pull the latest code and restart it.
-
/age
- Sends the timestamp of the ID or user's creation date. -
/bible
- Checks how many words are in the Bible.- Context menu supported.
-
/cobalt
- Downloads media from a URL using the Cobalt API and sends it.- Disabled until Cobalt gets an official API.
-
/deepl
- DeepL API command group.-
/deepl translate text
- Translates text using the DeepL API.- Context menu supported.
-
/deepl translate document
- Translates a document using the DeepL API. -
/deepl usage
- Shows the DeepL API usage.
-
-
/help
- Shows the help menu. -
/embed
- Creates and sends an embed from either fields or multiple from a RON representation. -
/escape
- Escapes basic markdown characters. -
/favoritize
- Converts any image type into a 2 frame WebP so that it can be added to your favorited GIFs list.- Context menu supported.
-
/ffmpeg
- Runs a basic FFmpeg command on uploaded media. -
/fix
- Makes social media links embed properly.- Works for X, Bluesky, TikTok, Instagram, and Reddit.
-
/flip
- Flips a nickel using a true random number generator. -
/github
- Sends a formatted link to a GitHub profile or repository. -
/jxl
- Converts an image to JXL.- Context menu supported.
-
/memory
- Shows the bot's memory usage. -
/now_playing
- Shows what you're currently listening to from the ListenBrainz API.- YouTube song downloading supported.
-
/ocr
- Runs OCR on an image.- This sucks currently. Someone please find me a decent API or library.
-
/roll
- Rolls dice notation. -
/screenshot
- Screenshots a website. -
/snowstamp
- Lets you easily create a timestamp from an ID or a datetime. -
/song_info
- Shows song information from a given link.- Context menu supported.
- YouTube song downloading supported.
-
/source
- Sends the link to the bot's source code. -
/unicode
- Converts text to and from Unicode. -
/uptime
- Tells you how long the bot has been up for. -
/wayback
- Generates an archive.org (Wayback Machine) URL for a given URL. -
/webp
- Converts an image to WebP.- Context menu supported.
-
/wolfram
- Asks Wolfram Alpha a question. -
/youtube
- [Experimental] Downloads and sends a YouTube video and sends it.- Sometimes it works, sometimes it doesn't.