Eleven59 is a Discord bot designed to help you manage your deadlines. The bot allows users to add deadlines, receive reminders about upcoming deadlines, and track tasks efficiently within a Discord server.
- Add Deadlines: Users can add deadlines with specific subjects, dates, and tasks.
- Reminders: The bot will send reminders when a task is due within the next 24 hours.
- Overdue Notifications: Once a task is overdue, the bot will notify the server and automatically remove the deadline.
- Task Management: Automatically deletes deadlines after notifying users of overdue tasks.
/deadline [subject] [date] [task]
- subject: The subject or category of the deadline (e.g., "Math" or "Project").
- date: The due date in
YYYY-MM-DD
format. - task: The description of the task to be completed.
Example:
/deadline Math 2024-09-30 Finish the algebra assignment
The bot will respond with:
📅 Deadline added for Math on 2024-09-30: Finish the algebra assignment
- The bot will check for deadlines every 24 hours.
- Reminds users of tasks that are due within the next 24 hours with the
@everyone
tag.
- If a task is overdue, the bot will notify the server with the following message:
⚠️ [subject] task was due on [date]: [task] hope you submitted it!😉
- The bot will automatically remove the overdue task from the database.
-
Clone the repository:
git clone https://github.com/yourusername/eleven59.git cd eleven59
-
Install dependencies: Ensure you have Node.js and npm installed. Then, install the required packages:
npm install
-
Environment setup: Create a
.env
file and include the following:DISCORD_TOKEN=your_discord_bot_token ELEVEN_CHANNEL_ID=your_channel_id MONGO_URI=your_mongo_database_uri
-
Run the bot: Start the bot using Node.js:
node index.js
- Node.js: The runtime environment for running JavaScript code on the server.
- Discord.js: Library for interacting with the Discord API.
- MongoDB: Database for storing and managing deadlines.
- Mongoose: Object Data Modeling (ODM) library for MongoDB and Node.js.
Contributions are welcome! Please feel free to submit a pull request or open an issue.
This project is licensed under the MIT License.