Najmul190 / Discord-AI-Selfbot

A Discord chatbot / selfbot that allows users to talk to AI powered by OpenGPT or BARD. The AI runs on a genuine Discord account, not a bot account and has image detection alongside image generation.
GNU General Public License v3.0
78 stars 24 forks source link
ai chatbot chatbots chatgpt chatgpt4free dall-e discord discord-bot discord-py discord-selfbot freeai gpt-3 image-detection image-generation python selfbot selfcord

Discord-AI-Selfbot (MAJOR UPDATE COMING SOON!)

This is a Python-based Discord selfbot using the discord.py-self library. The selfbot automatically responds to messages that uses it's trigger word using either ChatGPT or BARD and has image generation using an external endpoint, all for completely free. It functions as a normal Discord bot, just 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.

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.

I take no responsibility for any actions taken against your account for using these selfbots, or how users use my open source code.

Using this on a user account is prohibited by the Discord TOS and can lead to your account getting banned in very rare cases.

Preview of image responses:

image

Preview of text responses:

image

Preview of Image Generation:

image

Features

Commands

Steps to install and run:

Step 1: Git clone repository

git clone https://github.com/najmul190/Discord-AI-Selfbot

Step 2: Changing directory to cloned directory

cd Discord-AI-Selfbot

Step 3: Getting your Discord token

Step 4: Get your BARD cookie value

image

Step 5: Rename example.env to .env and put the discord token and BARD cookie. It'll look like this:

BARD_COOKIE=BARD_COOKIE_GOES_HERE
DISCORD_TOKEN=DISCORD_TOKEN_GOES_HERE
OWNER_ID=OWNER_ID_GOES_HERE
SELFBOT_ID=ACCOUNT_ID_GOES_HERE
TRIGGER=TRIGGER_WORD
PREFIX=~

Step 6: Install all the dependencies and run the bot

Windows:

Linux:

How to talk to the bot