Skip to content

masabinhok/eleven59bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eleven59 Bot

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.

Features

  • 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.

Commands

Add a Deadline

/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

Automatic Reminders

  • 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.

Overdue Task Notifications

  • 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.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/eleven59.git
    cd eleven59
  2. Install dependencies: Ensure you have Node.js and npm installed. Then, install the required packages:

    npm install
  3. 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
  4. Run the bot: Start the bot using Node.js:

    node index.js

Technologies Used

  • 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.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License.

About

eleven59 is a discord bot for deadlines yayy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published