Render alerts list functionality as embeds and make more pretty

This commit is contained in:
2024-12-03 04:13:12 -08:00
parent 96249bd608
commit ac5d794df1
3 changed files with 64 additions and 20 deletions

View File

@@ -75,7 +75,7 @@ class Alert:
raise NotImplementedError
else:
alert_type_str = ' '.join(self.alert_type.name.split("_"))
return f"\n|\tRegion: {self.region.value.upper()}\tFlavor: {self.flavor.name.lower()}\tAlert: {alert_type_str.title()}\t|"
return f"{alert_type_str.title()}"
async def _lazy_load(self, table: Table, consistent: bool = False) -> None:
if consistent or not self._loaded: