Giter Club home page Giter Club logo

gemini-discord-bot's Introduction

Gemini Discord Bot

Gemini is an advanced Discord bot that leverages Google's Generative AI models to provide a wide range of features and interactions. It can engage in conversations, generate images, create speech, music, and videos, and even analyze text files and web pages.

Features

  • Conversational AI: Gemini can engage in natural conversations with users, maintaining context and providing relevant responses.
  • Image Generation: Users can generate images based on text prompts using various models like SD-XL-Alt, Kandinsky, DallE-XL, Anime, and Stable-Cascade.
  • Speech Generation: Gemini can generate speech from text prompts in multiple languages.
  • Music Generation: Users can generate music based on text prompts.
  • Video Generation: Gemini can create videos from text descriptions.
  • Text File Analysis: The bot can extract and analyze text from various file types, including PDF, plain text, HTML, CSS, JavaScript, JSON, Python, YAML, Markdown, and XML.
  • Web Page Analysis: Gemini can scrape and analyze the content of web pages.
  • User Preferences: Users can customize their experience by setting preferences for response format, image models, image resolution, speech models, and URL handling.
  • Server-wide Settings: Server administrators can configure server-wide settings such as chat history, custom personality, response style, and more.
  • Blacklisting and Whitelisting: Server administrators can blacklist or whitelist users from using certain interactions.

Installation

  1. Clone the repository:

    git clone https://github.com/hihumanzone/Gemini-Discord-Bot.git
    
  2. Install the required dependencies:

    npm install dotenv [email protected] discord.js @google/generative-ai ws fs sharp pdf-parse cheerio youtube-transcript axios eventsource
    
  3. Obtain a Google API key from Google AI Studio.

  4. Create a .env file in the project root and add your Discord bot token and Google API key:

    DISCORD_BOT_TOKEN=your_discord_bot_token
    GOOGLE_API_KEY=your_google_api_key
    
  5. Run the bot:

    node index.js
    

Usage

Gemini provides a range of slash commands and interactions. Users can interact with the bot by mentioning it or using the available slash commands. The bot also supports message attachments for image and text file analysis.

For detailed usage instructions and a list of available commands, please refer to the official website.

About the Creator

Gemini Discord Bot is created by hihumanzone (also known as Impulse). For more information and updates, visit the GitHub repository.

License

This project is licensed under the MIT License.

gemini-discord-bot's People

Contributors

hihumanzone avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.