Skip to content

Commit

Permalink
appease pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
flaree committed Aug 30, 2024
1 parent a46456f commit 88ffeca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ballsdex/packages/admin/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ async def format_page(self, menu: Pages, blacklist: BlacklistHistory) -> discord
if blacklist.moderator_id:
moderator = await self.bot.fetch_user(blacklist.moderator_id)
embed.add_field(
name="Blacklisted by"
if blacklist.action_type == "blacklist"
else "Unblacklisted by",
name=(
"Blacklisted by"
if blacklist.action_type == "blacklist"
else "Unblacklisted by"
),
value=f"{moderator.display_name} ({moderator.id})",
inline=True,
)
Expand Down

0 comments on commit 88ffeca

Please sign in to comment.