Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.35 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.35 KB

Discord Self AI Chatbot with Gemini

Transform your Discord account into an AI chatbot using the Gemini AI model.

Warning: Use this tool at your own risk. I do not take any responsibility if your Discord account gets banned or faces any other consequences due to the use of this tool. Make sure to comply with Discord's terms of service and guidelines.

Setup

  • Python 3.7 or higher
  • Discord.py library
  • aiohttp library
  • google.generativeai library
  • PIL library

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/Isaiah512/discord-self-ai-chatbot.git
  1. Install the required Python packages:
  • google-generativeai

You can install them using pip:

pip install google-generativeai
  1. Install dependencies:
pip install -r requirements.txt

Configuration

  1. Create a .env file in the project directory with the following content:
TOKEN=your_gemini_api_key_here
AUTH_KEY=your_discord_token_here
  1. Run the script:
python3 discord_bot.py

Commands

  1. -help To get a list of commands available.

  2. -a text here Generates text based on the provided input. It accepts a string of text as anargument and generates text output accordingly.

  3. -i text here[with image attached] A combination of image and text as inputs that allows answer questions about the provided image.