diff options
Diffstat (limited to 'com.py')
-rw-r--r-- | com.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/com.py b/com.py index 4ceb849..3ebb948 100644 --- a/com.py +++ b/com.py @@ -25,7 +25,7 @@ class Visibility(Enum): case "followers": return cls.followers case "specified": return cls.direct case _: raise ValueError(f"unknown visibility `{raw}`") - + def code(self) -> str: match self: case self.public: return "p" @@ -76,6 +76,12 @@ class FilterableNote: } +class FilterAction(Enum): + Ignore = 'ignore' + Delete = 'delete' + Obliterate = 'obliterate' + + def eval_config() -> dict: print("configuring") config = {} |