Skip to content

Sarthak-07/ThunderAI-Discord-ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThunderAI [AI Assistant Discord Bot]

A Discord bot using the power of Google's Gemini-Pro API to interact with users in both text and image formats. It processes messages and images sent to it, generating creative and engaging responses.

Gemini API is completely free for upto 60 calls/min as of Jan 2024.

Features & Information

  • AI-Geneated Text Responses: ThunderAI creates text responses using Google's Gemini AI.
  • Image Processing: ThunderAI responds to images, combining text and visual inputs for engaging interactions (Images should be under 2.5 Megs).
  • Message History Management: Each channel/thread has its own context, manageable with /forget. Note that, due to API restrictions, the bot cannot remember image interactions.
  • Customizable Language Response: This bot consistently generates responses in English, regardless of the language in which the user sends messages. However, you have the flexibility to customize it to respond in any other language of your choice.
  • Bot Knowledge: Elevate your interactions by imbuing ThunderAI with personalized prompts and insights. The bot retains this knowledge, allowing it to craft engaging responses tailored to your specific contributions.

Requirements

You need Google API Key for it. SO, Get a Google Gemini Api Key from https://makersuite.google.com/app

You need Discord Bot Token. So, Make a Discord Bot from https://discord.com/developers/applications

Configuration

  1. Locate to config.py file and Fill the following values:
  1. Install all dependencies as specified in requirements.txt

  2. Run main.py

Disclaimers

  • The bot's behavior is subject to the limitations and rules of the Discord API and the Gemini API.
  • The bot's responses are generated by the Gemini API and are not controlled by the developer.

Contributing

Contributions are welcome! Please feel free to submit a pull request.

License

This project is licensed under the terms of the MIT license.

About

An AI Assistant Discord Bot uses Gemini API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages