Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cogs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ async def embedbuilder(self, ctx: ApplicationContext, title: str, description: s
@option(name="user", description="Who do you want to know about?", type=discord.User, default=None)
async def whoami(self, ctx: ApplicationContext, user: discord.User=None):
if user is None: user = ctx.author
username = user
discrim = user.name.split("#")
username = user.name
if discrim[-1] == 0:
username = user.name.replace("#0", "")
displayname = user.display_name
registered = user.joined_at.strftime("%b %d, %Y, %T")
pfp = user.avatar
Expand Down