diff --git a/jarvis/cogs/admin/modcase.py b/jarvis/cogs/admin/modcase.py index b035c8e..7287606 100644 --- a/jarvis/cogs/admin/modcase.py +++ b/jarvis/cogs/admin/modcase.py @@ -42,15 +42,13 @@ class CaseCog(Cog): mod_case: Moderation case guild: Originating guild """ - action_table = Table(title="Actions", show_header=False) + action_table = Table() action_table.add_column(header="Type", justify="left", style="orange4", no_wrap=True) - action_table.add_column( - header="Admin", justify="left", style="light_sky_blue1", no_wrap=True - ) + action_table.add_column(header="Admin", justify="left", style="cyan", no_wrap=True) action_table.add_column(header="Reason", justify="left", style="white") - note_table = Table(title="Notes") - note_table.add_column(header="Admin", justify="left", style="light_sky_blue1", no_wrap=True) + note_table = Table() + note_table.add_column(header="Admin", justify="left", style="cyan", no_wrap=True) note_table.add_column(header="Content", justify="left", style="white") console = Console() @@ -80,7 +78,7 @@ class CaseCog(Cog): for note in sorted(mod_case.notes, key=lambda x: x.created_at): admin = await self.bot.fetch_user(note.admin) admin_text = "N/A" - if not admin: + if admin: admin_text = f"{admin.username}#{admin.discriminator}" note_table.add_row(admin_text, note.content)