Discord vs Telegram: Fewer Notification Landmines - LifeTips
async def motion_detection_control(self, update: Update, context: ContextTypes.DEFAULT_TYPE): """Enable/disable motion detection""" if not context.args: await update.message.reply_text("Usage: /motion on/off") return
# Check cooldown if cam_name in self.last_motion_time: if current_time - self.last_motion_time[cam_name] < Config.MOTION_COOLDOWN: continue
Discord vs Telegram: Fewer Notification Landmines - LifeTips
async def motion_detection_control(self, update: Update, context: ContextTypes.DEFAULT_TYPE): """Enable/disable motion detection""" if not context.args: await update.message.reply_text("Usage: /motion on/off") return ipcam telegram group better
# Check cooldown if cam_name in self.last_motion_time: if current_time - self.last_motion_time[cam_name] < Config.MOTION_COOLDOWN: continue Discord vs Telegram: Fewer Notification Landmines - LifeTips