https://github.com/flaashtt/studybot
StudyBot is a Discord bot designed to help students organize their study life. It features commands for FAQs, personal notes, study tasks, reminders, resource management, quizzes, and a support ticket system. Use both slash and prefix commands for maximum flexibility.
https://github.com/flaashtt/studybot
discord-bot javascript json nodejs sqlite3 students
Last synced: 2 months ago
JSON representation
StudyBot is a Discord bot designed to help students organize their study life. It features commands for FAQs, personal notes, study tasks, reminders, resource management, quizzes, and a support ticket system. Use both slash and prefix commands for maximum flexibility.
- Host: GitHub
- URL: https://github.com/flaashtt/studybot
- Owner: FlaashTT
- Created: 2025-06-03T14:11:31.000Z (about 1 year ago)
- Default Branch: Central
- Last Pushed: 2025-06-03T17:50:40.000Z (about 1 year ago)
- Last Synced: 2025-06-04T01:38:07.732Z (about 1 year ago)
- Topics: discord-bot, javascript, json, nodejs, sqlite3, students
- Language: JavaScript
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# 🤖 StudyBot
A Discord bot to help with studying, featuring commands for FAQs, notes, tasks, reminders, quizzes, tickets, and resources.
---
## ✨ Features
- ❓ **FAQ Commands:** Add, remove, list, and search frequently asked questions.
- 📝 **Notes:** Save, read, delete, and list personal notes.
- ✅ **Tasks:** Add, list, and mark study tasks as completed.
- ⏰ **Reminders:** Create, list, and cancel reminders.
- 📚 **Resources:** Save and view links, videos, PDFs, and summaries.
- 🎫 **Tickets:** Support ticket system.
- 🧠 **Quizzes:** Quick questions to test your knowledge.
- 🧩 **Prefix and Slash Commands:** Use commands like `/help` or `!help`.
---
## ⚙️ Installation
1. **Clone the repository:**
```sh
git clone https://github.com/FlaashTT/StudyBot.git
cd StudyBot
2. **Install dependencies:**
```sh
npm init -y
npm install discord.js sqlite3 dotenv fs path
```
3. **Configure the `.env` file:**
Create a `.env` file in the root directory with:
```
DISCORD_TOKEN=your_token
CLIENT_ID=your_client_id
PREFIX=!
```
4. **Set up the database:**
- Make sure the `database` folder exists.
- The bot will create tables automatically on startup.
5. **Register the commands with Discord:**
```sh
node deploy-commands.js
```
6. **Start the bot:**
```sh
node index.js
```
## 💡 Usage Examples
- /help or !help — 📋 List all available commands
- /faq_add or !faq_add — ❓ Add a FAQ entry
- /note_add or !note_add — 📝 Add a note
- /addtask or !addtask — ✅ Add a study task
## 🤝 Contributing
Pull requests are welcome!
Feel free to open issues for suggestions or improvements.
## 📄 License
This project is licensed under the Node.js license (see LICENSE file).