File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,11 +185,10 @@ async def _update_groups(context: ContextTypes.DEFAULT_TYPE):
185185 c = session .query (Listable ).filter_by (id = db_id ).first ()
186186 if c :
187187 c .validated = False
188- # Temporarily disabled to avoid spam while debugging
189- # try:
190- # await context.bot.send_message(chat_id=DC_GROUP_CHATID, text=f"El grupo {primary_name} murió 💀")
191- # except Exception as e:
192- # logger.error(f"Failed to send death message for {primary_name}: {e}")
188+ try :
189+ await context .bot .send_message (chat_id = DC_GROUP_CHATID , text = f"El grupo { primary_name } murió 💀" )
190+ except Exception as e :
191+ logger .error (f"Failed to send death message for { primary_name } : { e } " )
193192 elif validated is True :
194193 logger .info (f"Updating URL for group '{ primary_name } '" )
195194 with get_session () as session :
You can’t perform that action at this time.
0 commit comments