A Telegram bot that allows users to set up and manage notifications.
-
Install the required dependencies:
npm install telegraf node-schedule
-
Replace
'YOUR_BOT_TOKEN'
with your actual Telegram bot token in theBOT_TOKEN
variable. -
Run the bot:
node your_bot_script.js
-
Start a chat with the bot on Telegram.
-
Use the commands to set, view, and delete notifications.
-
/start
: Start setting up notifications. -
/setnotification HH:MM Your notification message
: Set up a notification at the specified time. -
/viewnotifications
: View all set notifications. -
/deletenotification <index>
: Delete a notification by its index. -
/help
: Show help and disable other commands.
- Set up notifications at specific times.
- View a list of all set notifications.
- Delete notifications as needed.
- Notifications are scheduled using the
node-schedule
library. - Notifications are sent as reminders via Telegram messages.
If you encounter any issues or have suggestions, please open an issue.
This project is licensed under the MIT License - see the LICENSE.md file for details.