This is a Python-based Discord selfbot using the discord.py-self
library. The selfbot automatically responds to messages that mention it's trigger word using Groq API's Llama-3, one of the highest performing models, all for completely free. You can also add your own API key for ChatGPT functionality, but this is not required. It functions as a normal Discord bot, but on a real Discord account, allowing other people to talk to it within DMs, servers and even group chats without you needing to invite a bot or add the bot to the server - making it seem like a real user to others.
There is always the slight risk of a ban when using selfbots, so make sure to use this selfbot on an account you don't mind losing, but the risk is incredibly low and I have used it for over a year without any issues.
This bot was originally Discord-AI-Chatbot by MishalHossin but was heavily edited by Najmul190 to work as a selfbot rather than a Discord bot.
Note: This analysis is based on the user's message history and is not 100% accurate. It is just for fun and should not be taken seriously.
instructions.txt
and make the AI act however you'd like!~toggleactive
command to pick what channel the bot responds in.~analyse
command to analyse a mentioned user's messages and find insights on their personality. It's like having a therapist in your server!git clone https://github.com/najmul190/Discord-AI-Selfbot
cd Discord-AI-Selfbot
Ctrl + Shift + I
(If you are on Windows) or Cmd + Opt + I
(If you are on a Mac).Network
tab"messages?limit=50"
, "science"
or "preview"
under "Name"
and click on it"Authorization"
under "Request Headers"
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
(this is an example key, it isn't real)Windows:
Simply open run.bat
if you're on Windows. This will install all pre-requisites, guide you through the process of setting up the bot and run it for you.
If run.bat
doesn't work, then open CMD and run cd Discord-AI-Selfbot
to change directory to the bot files directory
Create a virtual environment by running python -m venv bot-env
Activate the virtual environment by running bot-env\Scripts\activate.bat
Run pip install -r requirements.txt
to install all the dependencies
Install discord.py-self using pip install -U discord.py-self
Fill out example.env with your own credentials and rename it to .env
Run the bot using python3 main.py
Linux:
cd the\bot\files\directory
to change directory to the bot files directorypython3 -m venv bot-env
source bot-env/bin/activate
pip install -r requirements.txt
to install all the dependenciespip install -U discord.py-self
python3 main.py
channels.txt
.env
, this is the word that the bot will respond to. For example, if you set the trigger word to John
, people must say "Hey John
, how are you today?" for the bot to respond.To change the personality of the bot and set custom instructions, simply go into the Config
folder and edit the default instructions in instructions.txt
to whatever you want!
I probably won't be accepting friend requests so if you have any questions or require help, join a quick Discord server I put together and ask in there! (You can leave after getting help, or stick around if you want!)
You can also try out this project in this server, in the #italiano channel! Click the image below to join.
If you're feeling rich and grateful, feel free to donate by clicking this button!