A powerful, modular Discord Bot built using Python and Discord.py for the GDSC Python subdomain.
- 🤖 AI Chatbot (using Gemini 2.0 Flash API)
- ⏰ Reminders
- 📊 Polls
- 🎶 Music (Not working as of yet)
- 👋 Welcome Messages
- 📝 AI-powered Summaries
- 🗄️ SQLite database with
aiosqlite
git clone https://github.com/ryanfer123/DiscordBot-Gdsc.git
cd DiscordBot-Gdscpython3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtIn the project root, add a .env file with your TOKENS:
DISCORD_TOKEN=your_discord_bot_token_here
GEMINI_API_KEY=your_gemini_api_key_hereI couldn't upload the .env file due to the tokens present in it (discord, gemini) So you will have to generate your own tokens by creating your own .env file.
python bot.py- Followed modular architecture using Cogs for clean and scalable code.
- Integrated async database handling with
aiosqlite. - Used Gemini API for smart AI responses.
- Used Discord Token for bot integration.
- Used Wavelink for music.(Found this out on the web)
discord-bot/
│
├── cogs/
│ ├── ai.py
│ ├── music.py
│ ├── polls.py
│ ├── reminders.py
│ └── welcome.py
│
├── bot.py
├── bot_database.db
├── requirements.txt
├── .env (not included in submission)
|── .gitignore
- First Year CSE Core Student @ VIT Vellore