Add moderation TUI

This ended up way fancier than I imagined.
This commit is contained in:
Mia Herkt
2022-12-20 15:45:55 +01:00
parent dcea8bffe1
commit eebd5d8c6d
9 changed files with 681 additions and 0 deletions

8
modui/notification.py Normal file
View File

@@ -0,0 +1,8 @@
from textual.widgets import Static
class Notification(Static):
def on_mount(self) -> None:
self.set_timer(3, self.remove)
def on_click(self) -> None:
self.remove()