Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 4.07 KB

COMMANDS.md

File metadata and controls

64 lines (52 loc) · 4.07 KB

Bot commands

Send these in Telegram. Menus are shortcuts, not a full permission contract. [...] means optional.

Users

Command Where / permission Effect
/start, /help Private; any user Home menu/help.
/preferences Private; own settings Personal location/calendar/methods.
/language, /lang Private; own settings Personal language; group usage needs group admin.
/groups [search] Private; fresh group-admin checks List/search manageable known groups.
/shabat [YYYY-MM-DD], /shabbat [YYYY-MM-DD] Private or registered group; any user Shabbat/festival times for that context.
/zmanim [YYYY-MM-DD] Private or registered group; any user Daily times.
/daf [YYYY-MM-DD] Private or registered group; any user Daf Yomi.
/omer [YYYY-MM-DD] Private or registered group; any user Count/season for the selected date.
/stats Private or group; any user Public aggregates, without subscriber identities.
/donate Private; any user Optional Stars offers; payment needs Telegram checkout.
/source, /license, /version Private or group; any user Source offer, licensing/build identity.

Group administrators

Command Where / permission Effect
/add Group; current group admin Register/reactivate and open setup.
/remove Group; current group admin Deactivate; restoration debt blocks removal.
/settings Group; current group admin Private group settings; see the registration caveat in group settings.
/settings [GROUP_ID] Private; current target-group admin Open target or list groups without ID.
/language, /lang Group; current group admin Private selection of group language.

Advanced private forms require the panel's exact token, its owner/scope/revision and current group authority for group targets. Prefer the guided buttons.

Form Effect
/city TOKEN QUERY Search pending location.
/coordinates TOKEN LATITUDE LONGITUDE IANA_ZONE [NAME] Preview explicit coordinates/zone.
/location TOKEN IANA_ZONE or /location TOKEN auto Prompt for GPS reply; auto requires GeoNames.
/timezone TOKEN QUERY Search IANA zones.
/configure TOKEN FORM Preview the panel's supported settings form.
/viewdate TOKEN YYYY-MM-DD Selected calendar date.
/template TOKEN + newline + content Review a group template candidate.
/buttons TOKEN + newline + keyboard content Review JSON/legacy keyboard content.

Bot managers

All below run in private. Bot-manager roles are separate from group administration; view-only roles cannot mutate.

Command Required access Effect
/admin Bot manager Administration panel.
/adminstats Statistics Administrative aggregates.
/testzmanim [GROUP_ID] Statistics Paged diagnostics/filter/search and optional private JSON export.
/subscribers Subscribers Known peer/profile directory.
/broadcast Broadcast Drafts/jobs; sending/editing/deleting needs mutation rights and relevant confirmation.
/managers Manage managers Delegated roles within actor's authority.
/systemlinks System links Navigation links, which confer no permissions.
/trackinglinks Tracking links Activation counters/management; changes need mutation access.
/setcommands [LANGUAGE] [SCOPE] [preview] Command-menu mutation, even preview Inspect or update Telegram menus.
/closegroups, /opengroups Group-operations mutation Immediately apply a one-hour override to active registered groups; preserve prelocks/report conflicts. Real permission operations.
/restart Configured ADMIN owner only Orderly runtime restart.

Menu languages: all|he|en|ru|fr|es|pt-br; scopes: all|private|operators|groups|group_admins; defaults: all all. Example: /setcommands ru group_admins preview. Group menus currently list /settings; other supported commands can be typed.

Administration · Diagnostics