Archived
2.4 KiB
2.4 KiB
Telegram Bot Schedule
This project is a Telegram bot designed to manage and display schedules. The bot can help users keep track of their daily activities, appointments, and events.
A working version of the bot for cmc msu students: t.me/vmk_schedule_bot
Features
- View preloaded schedules
- Group schedules for better organization
- Receive reminders for upcoming events
- User-friendly commands and interface
Installation
- Clone the repository:
git clone https://github.com/yourusername/Telegram-bot-schedule.git - Navigate to the project directory:
cd Telegram-bot-schedule - Install the required dependencies:
pip install -r requirements.txt
Usage
- Create a new bot on Telegram and get the API token.
- Set the API token in the environment variables or in a configuration file.
- You need to create schedules files for groups.
- Run the bot:
python bot.py
Commands
/start- use to change the group number./schedule- use to get today's schedule./random- create a queue of people./info- use to find out your bot settings./pause- use to stop receiving messages from the bot./thread- use in the desired channel chat so that the bot sends messages there./timeout- set the time when the bot will send you a message./request- use to send a request to the developer./source- Bot's page on Github./restart- restart the bot (admin only)./update- update schedule tasks (admin only)./stats- get statistics (admin only)./json- get the users and schedule file (admin only)./infouser_id - find out the user's settings (admin only)./spam- send a broadcast message (admin only)./pause_all- pause the bot for everyone (holidays/weekends) (admin only)./stopuser_id - stop sending messages to the user (admin only).
Contributing
Contributions are welcome! Please fork the repository and create a pull request with your changes.
Contact
For any questions or suggestions, please open an issue or contact the project maintainer at [gudovdo@my.msu.ru].
Target Audience
This bot is particularly useful for students to track their lessons and manage their academic schedules effectively.
Limitations
- Cannot create or edit schedule entities directly
- Only works with preloaded schedules and groups