Skip to content

Sparks33/Gemini-AI-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Discord Gemini AI Bot

This Discord bot utilizes Google's Generative AI to generate responses based on user messages.

Setup

Prerequisites

  • Node.js (v14.0.0 or newer)
  • Discord Bot Token
  • Google Generative AI API Key
  • Discord Channel ID where the bot will operate

Installation

  1. Clone this repository:

    git clone https://github.com/Sparks33/Gemini-AI-Discord-Bot.git
  2. Navigate to the project folder:

    cd discord-generative-ai-bot
  3. Install dependencies:

    npm install
  4. Set up the configuration:

    Copy the .env.example file to a new file named .env:

    cp .env.example .env

    Open the .env file and fill in the following variables:

    • BOT_TOKEN: Your Discord Bot Token.
    • API_KEY: Your Google Generative AI API Key.
    • CHANNEL_ID: Discord Channel ID where the bot will operate.

    Save the changes.

  5. Run the bot:

    npm start

    The bot should now be online and operational.

Credits

This Discord bot was created by Sparks.

Tutorial

For a detailed tutorial on setting up and customizing this bot, check out the video tutorial on my YouTube channel: QUANTOM.

Contributing

Feel free to contribute to this project by submitting issues or pull requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published