Skip to content

A conversational Discord bot built using Python and Groq API.

Notifications You must be signed in to change notification settings

Vaibhavee89/Chatty-DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Chatty- Discord Bot

A powerful and conversational Discord chatbot built using Python and the Groq API. This bot can answer your questions, chat naturally, and assist in a wide range of topics — all in your Discord server.

🚀 Features

  • 🔍 Intelligent Q&A
  • 💬 Natural conversation flow
  • ⚙️ Built using Python & Discord.py
  • 🧠 Powered by the Groq LLM API
  • 🛡️ Easily extendable and customizable

🛠️ Tech Stack

📸 Screenshots

Conversation Screenshot


🔧 Setup Instructions

1. Clone the Repository

git clone https://github.com/yourusername/groq-discord-bot.git
cd groq-discord-bot

2. Install Dependencies

We recommend using a virtual environment.

pip install -r requirements.txt

3. Add Environment Variables

Create a .env file in the root directory and add your keys:

DISCORD_TOKEN=your_discord_bot_token
GROQ_API_KEY=your_groq_api_key

4. Run the Bot

python bot.py

🧠 Example Usage

User: @Chatty What's the capital of Japan? Bot: The capital of Japan is Tokyo.

User: @Chatty Tell me a joke! Bot: Why don't scientists trust atoms? Because they make up everything!


📁 Project Structure

groq-discord-bot/
│
├── bot.py               # Main bot logic
├── groq_client.py       # Handles Groq API calls
├── .env                 # Environment variables
├── requirements.txt     # Python dependencies
└── README.md            # Project info

📌 Notes

  • This bot supports both prefix-based and mention-based command triggers.
  • All responses are generated through Groq’s powerful LLM, offering accurate and fast responses.

🤝 Contributing

Contributions are welcome! Please open an issue or PR to improve features or documentation.


📜 License

MIT License. See LICENSE file for more details.


❤️ Acknowledgments

  • Groq
  • discord.py
  • Open-source inspiration from various community projects.

About

A conversational Discord bot built using Python and Groq API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages