···11"""Manage bot profile status updates."""
2233import logging
44+import re
45from typing import Any
5667from atproto import Client
···165166166167 # Strip any existing suffix to get clean base bio
167168 clean = self.base_bio
168168- for suffix in _ALL_SUFFIXES:
169169- clean = clean.replace(suffix, "")
170170- clean = clean.rstrip()
169169+ # cut everything from the first status marker onward
170170+ clean = re.split(r"\s*•?\s*(?:🟢|🔴|source code:)", clean)[0].rstrip()
171171172172 # Store cleaned base for next time
173173 self.base_bio = clean