From d75f897043ff7e4ea61f223a399f63c4a8b053d4 Mon Sep 17 00:00:00 2001 From: shokollm <270575765+shokollm@users.noreply.github.com> Date: Sat, 4 Apr 2026 15:30:27 +0000 Subject: [PATCH] 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 --- apps/telegram-bot/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/telegram-bot/commands.py b/apps/telegram-bot/commands.py index 6e2eb52..51f5990 100644 --- a/apps/telegram-bot/commands.py +++ b/apps/telegram-bot/commands.py @@ -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"