{"repo":"EnArvy/Discord-Gemini-Chatbot","free":true,"listed":false,"github":"https://github.com/EnArvy/Discord-Gemini-Chatbot","clone":"git clone https://github.com/EnArvy/Discord-Gemini-Chatbot.git","description":"A completely free python discord chat bot which uses Google's Gemini API.","language":"Python","stars":34,"topics":["ai","chatbot","discord","discord-bot","discord-py","gemini","gemini-ai","gemini-api","gemini-pro","gemini-pro-vision"],"license":"GPL-3.0","category":"ai-agents","readme_excerpt":"Discord Bot to interact with Gemini API as ChatBot Preview Inspiration - https://github.com/Echoshard/Gemini Discordbot This bot acts as a Chatbot. It uses Google's Gemini API which is free for upto 60 calls/min as of Jan 2023. Supports images, audio, documents and Gemini 1.5 completely! Usage The bot can be talked to by mentioning it or DMing it. Each channel/thread has it's own context and can be erased by using /forget. Additionally, a persona can be specified while making it forget history. Due to API restrictions, the bot cannot remember image interactions. Requirements Get a Google Gemini api key from ai.google.dev Make a discord bot at discord.com/developers/applications Running Clone repository Install all dependencies as specified in requirements.txt Create a .env file and add GOOGLE AI KEY and DISCORD BOT TOKEN in as specified in .env.development file Run as python main.py Customization Optionally, you can configure the bot as follows using settings.py : Add custom initial conversation for every chat by editing the BOT TEMPLATE variable as follows: Change content safety settings as follows: Change AI generation parameters using the variables TEXT GENERATION CONFIG and IMAGE GENERATION CONFIG Misc Error logs are stored in the errors.log file created at runtime. Chat data is stored between bot runs using shelve.","default_branch":null,"files":null,"tree":[],"storefront":"/r/EnArvy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EnArvy/Discord-Gemini-Chatbot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}