mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-11 03:13:46 +00:00
/blacklist_add, /blacklist_del, /whitelist_add and /whitelist_del now answer with the current contents of the list they touched, so the sender sees the result without following up with /blacklist_rules. All four outcomes end the same way, including the two that change nothing: text already present, and text that was not there to remove. Those are exactly when someone wants to see what the list holds, and "every add and remove shows the list" is a simpler rule than one conditional on whether a write landed. The confirmation line shares the listing's byte budget, so a long list cannot push the combined reply past Telegram's message limit.