A Discord bot to help with studying, featuring commands for FAQs, notes, tasks, reminders, quizzes, tickets, and resources.
- ❓ 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
/helpor!help.
-
Clone the repository:
git clone https://github.com/FlaashTT/StudyBot.git cd StudyBot -
Install dependencies:
npm init -y npm install discord.js sqlite3 dotenv fs path
-
Configure the
.envfile: Create a.envfile in the root directory with:DISCORD_TOKEN=your_token CLIENT_ID=your_client_id PREFIX=! -
Set up the database:
- Make sure the
databasefolder exists. - The bot will create tables automatically on startup.
- Make sure the
-
Register the commands with Discord:
node deploy-commands.js
-
Start the bot:
node index.js
- /help or !help — 📋 List all available commands
- /faq_add or !faq_add — ❓ Add a FAQ entry
- /note_add or !note_add <title> — 📝 Add a note
- /addtask or !addtask — ✅ Add a study task
Pull requests are welcome!
Feel free to open issues for suggestions or improvements.
This project is licensed under the Node.js license (see LICENSE file).