a digital entity named phi that roams bsky phi.zzstoatzz.io
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

update bio on pause/resume to show offline/online status

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

zzstoatzz 396f0ee5 c05897b9

+5
+5
src/bot/main.py
··· 44 44 # Set online status 45 45 profile_manager = ProfileManager(bot_client.client) 46 46 await profile_manager.set_online_status(True) 47 + app.state.profile_manager = profile_manager 47 48 48 49 # Start notification polling 49 50 poller = NotificationPoller(bot_client) ··· 170 171 return err 171 172 bot_status.paused = True 172 173 logger.info("paused via API") 174 + if pm := getattr(app.state, "profile_manager", None): 175 + await pm.set_online_status(False) 173 176 return {"paused": True} 174 177 175 178 ··· 180 183 return err 181 184 bot_status.paused = False 182 185 logger.info("resumed via API") 186 + if pm := getattr(app.state, "profile_manager", None): 187 + await pm.set_online_status(True) 183 188 return {"paused": False} 184 189 185 190