Skip to content

Commit

Permalink
[Info] remove utils.MISSING references for names and nicks
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Jul 8, 2024
1 parent c20045c commit c5cce3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions info/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ async def _make_embed(self) -> discord.Embed:
)
embed.add_field(name="Joined Discord on:", value=created_on)
embed.add_field(name="Joined this Server on:", value=joined_on)
if names is not discord.utils.MISSING:
if names:
val = filter_invites(", ".join(names))
embed.add_field(name="Previous Names:", value=val, inline=False)
if nicks is not discord.utils.MISSING:
if nicks:
val = filter_invites(", ".join(nicks))
embed.add_field(name="Previous Nicknames:", value=val, inline=False)
if user.voice and user.voice.channel:
Expand Down

0 comments on commit c5cce3e

Please sign in to comment.