/admin add @username - add admin #51

Closed
opened 2026-04-04 06:45:57 +02:00 by shoko · 0 comments
Owner

Objective

Add ability to add new admin via /admin add @username.

Behavior

/admin add @username

Adds the specified user as an admin for the room.

Success Message

✅ @username is now an admin.

Error Cases

  • User not found in chat: ⛔ User @nonexistent not found.
  • Already an admin: ⛔ @username is already an admin.
  • Non-admin trying to add: ⛔ Only admins can perform this action.

Permissions

  • Admin-only

Dependencies

  • #43 (service layer must be done first)
## Objective Add ability to add new admin via `/admin add @username`. ## Behavior ``` /admin add @username ``` Adds the specified user as an admin for the room. ### Success Message ``` ✅ @username is now an admin. ``` ### Error Cases - User not found in chat: `⛔ User @nonexistent not found.` - Already an admin: `⛔ @username is already an admin.` - Non-admin trying to add: `⛔ Only admins can perform this action.` ### Permissions - Admin-only ## Dependencies - #43 (service layer must be done first)
shoko added this to the Phase 2 milestone 2026-04-04 06:45:57 +02:00
shoko added the telegram-botphase-2 labels 2026-04-04 06:45:57 +02:00
han was assigned by shoko 2026-04-04 06:45:57 +02:00
shoko closed this issue 2026-04-04 12:18:32 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/jigaido#51