Gemini Discord Bot
Discord chatbot with integration of Gemini AI.
Install / Use
npx skills add xAwakenDeveloper/Gemini-Discord-BotInstalls into whichever agent you are using.
README
Features
- Gemini API Integration - Use any Gemini model of your choice
- Custom System Instructions - Inject custom instructions to personalize bot behavior
- Multiple Conversation Modes - Choose how the bot responds to messages
Installation
Prerequisites
- Node.JS (version 18 or higher)
- Discord Bot Token (Discord Developer Portal)
- Gemini API Key (Google AI Studio)
Setup
- Clone the repository:
git clone https://github.com/xAwakenDeveloper/Gemini-Discord-Bot.git
cd Gemini-Discord-Bot
- Install dependencies:
npm install
- Create
.envfile in the root directory:
DISCORD_TOKEN=your_discord_bot_token_here
DISCORD_CLIENT_ID=your_discord_bot_client_id_here
GEMINI_API_URL=your_gemini_api_url_here
GEMINI_API_KEY=your_gemini_api_key_here
SYSTEM_INSTRUCTIONS="Your custom system instructions here"
- Start the bot:
node src/index.js
Quick Start
- Add the bot to your Discord server:
- Initialize the bot: on your server:
/setup
This creates a config file with settings for your server.
- Start chatting: Simply send messages in any channel where the bot has access.
Available Commands
| Command | Description |
|---------|-------------|
| /setup | Initializes the bot on your server (run this first) |
| /reset | Clear saved data and reset the bot to default settings |
| /clear | Remove all bot messages from the current channel |
Contributing
Contributions are welcome, but please note that active development is not my main focus. Feel free to open pull requests or issues if you find something to improve or fix.
License
The project is licensed under the MIT License - see the LICENSE file for details.
Related Skills
gortex
1.1kHigh-performance code-intelligence engine for AI agents and IDE, supports 257 languages, multi repositories, based on graph, with access via CLI, MCP Server, and API. AI coding agents teammate - expose only needed information, cutting token usage up to 50x. 100% local.
techrogue
TechRogue – Roguelike technical quiz for engineers. Usage: /techrogue | /techrogue build | /techrogue settings
cc-switch
125.6kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
cc-switch
125.6kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
