Skip to content

Rohaz-bhalla/Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Discord Gemini Bot

A sleek and blazing-fast Discord bot built with Bun and Google Gemini, enabling intelligent and conversational interactions via generative AI.


✨ Features

  • 🧠 AI-powered responses through Google Gemini
  • ⚡ Ultra-fast performance with Bun
  • 💬 Simple and intuitive Discord interaction support
  • 📦 Lightweight, efficient, and developer-friendly

📦 Installation

git clone https://github.com/Rohaz-bhalla/Discord-Bot

cd Discord-Bot
bun install

⚠️ Ensure Bun is installed globally.


🔑 Configuration

Create a .env.local file in the project root and add your credentials:

DISCORD_BOT_TOKEN=your_discord_bot_token
DISCORD_CLIENT_ID=your_discord_client_id
GEMINI_API_KEY=your_google_gemini_api_key

🚀 Usage

Start the bot using:

bun index.ts

The bot will begin listening for messages and commands in your Discord server.


🗂️ Project Structure

discord-gemini-bot/
├── index.ts           # Main bot entry point
├── commands/        # Discord slash command definitions
├── .env.local       # Environment variables
├── bun.lockb        # Bun lockfile
└── package.json     # Project metadata

Discord Server Link ( Bot integrated )

[https://discord.gg/rTnKu8pX] - join to use the bot


🛠️ Built With

  • Bun — Modern JavaScript runtime for speed and simplicity
  • discord.js — Robust library for Discord bot development
  • @google/genai — Gemini API wrapper

📜 License

MIT © YourName

Open-source and free to use. under MIT licence

About

A fast, Bun-powered Discord bot that uses Google Gemini to respond to your questions with AI-generated answers. Just ask, and it replies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors