feat: auto-promote group creator AND DM user to admin

- Groups: group creator auto-promoted to admin via /start
- DMs: user automatically becomes admin of their own DM
This commit is contained in:
shokollm
2026-04-04 15:30:27 +00:00
parent 0260cae40b
commit d75f897043

View File

@@ -468,6 +468,9 @@ async def cmd_start(update: Update, ctx: ContextTypes.DEFAULT_TYPE) -> None:
"/my — your tracked bounties"
)
else:
if not BOUNTY_SERVICE.is_admin(room_id, user_id):
BOUNTY_SERVICE.add_admin(room_id, user_id, user_id)
await update.message.reply_text(
"👻 JIGAIDO activated.\n\n"
"Personal bounty list ready.\n"