Skip to content

LeetaoGoooo/discord-robots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Gemini Robot

This project sets up a Discord bot using Python that utilizes the Gemini API to answer questions and recognize image . Additionally, it integrates with Bing Create to create images and enhances the creation process using Gemini.

Features

  • Question Answering: The bot can answer questions using the Gemini API.
  • Image Recognize: The bot can recognize the content of the image.
  • Bing Create Integration: The bot can create images using Bing Create and enhance the creation process using Gemini.

Installation

  1. Clone the repository:

    git clone https://github.com/LeetaoGoooo/discord-robots.git
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Set up the token:

    export DISCORD_TOKEN=DISCORD_TOKEN
    export BING_TOKEN=BING_TOKEN
    export GUILD=GUILD
    export GEMINI_KEY=GEMINI_KEY
    1. How to get GUILD
    2. How to get BING_TOKEN
  4. Run the bot:

    python bot.py

or use Dockerfile

docker build -t discord-robots .
docker run  --name name -d  -e DISCORD_TOKEN=DISCORD_TOKEN -e GEMINI_KEY=GEMINI_KEY -e BING_TOKEN=BING_TOKEN discord-robots 

Usage

Once the bot is running, you can invite it to your Discord server and interact with it using various commands. Here are some examples:

Please refer to the documentation for more details on available commands and their usage.

Contributing

Contributions are welcome! If you would like to contribute to this project, please follow the guidelines outlined in the CONTRIBUTING.md file.

License

This project is licensed under the MIT License.

About

make gemini and bing create work on the discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published