diff options
author | mia <mia@mia.jetzt> | 2024-10-04 15:43:40 -0700 |
---|---|---|
committer | mia <mia@mia.jetzt> | 2024-10-04 15:43:40 -0700 |
commit | 7e060e5cf2656a0a53d41ea0ff42b753316cd441 (patch) | |
tree | 2629f3d1e12d21c406974000dd195518aa5b6041 /com.py | |
parent | bb8a48fd4d85ba4f8224c68aaaf9069d5d79dae2 (diff) | |
download | scrubber-7e060e5cf2656a0a53d41ea0ff42b753316cd441.tar.gz scrubber-7e060e5cf2656a0a53d41ea0ff42b753316cd441.zip |
she's goin
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 = {} |