Releases: WizardLoop/shabbat
✨ Shabbat v2.0.1
v2.0.1 - Custom Buttons & UI Update
A major customization update for the Shabbat & Holiday protection system.
🚀 New Features
🔘 Advanced Custom Buttons System
Custom opening/closing messages now support a powerful buttons system with:
- URL buttons
- Popup buttons
- Alert buttons
- Copy buttons
- Styled buttons
- Icons support
- Multiple buttons in the same row
🎨 Button Styles Support
Added support for custom button styles:
bg_primarybg_successbg_danger
Example:
Button - https://t.me/test - style:bg_success
✨ Icons Support
Buttons can now include custom icons.
Example:
Button - https://t.me/test - icon:273645271
You can also combine style + icon:
Button - https://t.me/test - style:bg_primary - icon:273645271
⚡ Popup & Alert Buttons
Added interactive buttons support:
Popup button
Popup - popup:Group will reopen after Shabbat
Alert button
Alert - alert:Shabbat Shalom
📋 Copy Buttons
Added support for copy-to-clipboard buttons.
Example:
Copy Link - copy:https://t.me/test
↔ Multiple Buttons In Same Row
You can now place multiple buttons on the same row using:
&&
Example:
Website - https://google.com && Support - https://t.me/support
🛠 Improvements
- Improved button parser
- Improved inline keyboard generation
- Improved MadelineProto TL compatibility
- Improved callback handling
- Improved custom message rendering
- Improved keyboard stability
⚡ Examples
Join - https://t.me/test
Alert - alert:Shabbat Shalom
Popup - popup:Group will reopen after Shabbat
Copy - copy:https://t.me/test
Success - https://t.me/test - style:bg_success
Primary - https://t.me/test - style:bg_primary - icon:273645271
Google - https://google.com && Support - https://t.me/support
Thank you for using WizardLoop Shabbat ❤️
✨ Shabbat v2.0.0
A major stability and automation update for the Shabbat & Holiday protection system.
🚀 New Features
🧪 Test Mode Support
Added:
private bool $testMode = true;
You can now safely test:
- group closing
- group reopening
- alert messages
- holiday flows
without waiting for real Shabbat times.
🔄 Plugin Restart System
Added a new restart plugin/system for easier maintenance and fast recovery.
🕯 Improved Shabbat & Holiday Logic
Completely improved the time calculation logic.
The bot now properly supports:
- regular Shabbat
- holidays
- holiday + Shabbat sequences
- multi-day holidays
- holiday openings/closings
The system now automatically detects:
- the next closing time
- and the correct reopening time.
🧪 New Testing Commands
Added testing utilities such as:
/testzmanim
for debugging and validating time calculations.
🤖 Bot Commands Support
Added:
/setcommands
The bot can now automatically configure Telegram command menus:
- user commands
- admin commands
- group admin commands
🔒 Holiday Group Protection
Groups can now automatically close during Jewish holidays in addition to Shabbat.
This includes:
- Yom Tov
- multi-day holidays
- holiday + Shabbat combinations
⚡ Improvements
- Improved cron stability
- Improved lock handling
- Improved keyboard parsing
- Improved permission restoration
- Improved testing workflow
🛠 Recommended
After updating:
- Run
/setcommands - Test using
testMode - Verify bot admin permissions in groups
Thank you for using WizardLoop Shabbat ❤️
Refactor bot initialization into RunBot() with proper logging and exception handling
Refactor bot initialization into RunBot() with proper logging and exception handling
added: WizardLoop/BroadcastManager
added: WizardLoop/BroadcastManager
- Upgraded to WizardLoop/BroadcastManager for smoother, faster, and more reliable message broadcasting across all users.
Update - getZmanimForCities
New Update -
Added:
- Update getZmanimForCities to include Rosh Chodesh and Mevarchim info
New Update - Added & Fixed
New Update -
Added:
- media support for custom closing/opening message.
- support for inline url buttons for custom close/open message.
- support for upcoming holiday times.
Fixed:
- an issue that caused confusion between Shabbat and holiday times.