Skip to content

Commit

Permalink
Merge pull request #22 from RappyTV/fix/embedTitle
Browse files Browse the repository at this point in the history
Fix wrong display of username for migrated users in embed title
  • Loading branch information
RappyTV authored May 5, 2024
2 parents c353f2c + 7870992 commit fd8f5e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord.id",
"version": "1.4.4",
"version": "1.4.5",
"main": "app.js",
"description": "This is an inofficial remake of discord.id",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion views/user.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="author" content="RappyTV">
<meta name="description" content="Lookup a Discord User or Bot ID.">
<meta name="keywords" content="discord.id, discord loopkup, id.rappytv.com">
<meta property="og:title" content="<%= locals.tag %> looked up">
<meta property="og:title" content="<%= locals.migrated ? `${locals.displayName} (${locals.globalName})` : locals.tag %> looked up">
<meta property="og:url" content="https://id.rappytv.com/<%= locals.id %>">
<meta property="og:description" content="Lookup a Discord User or Bot ID.">
<meta property="og:image" content="<%= locals.avatar %>">
Expand Down

0 comments on commit fd8f5e7

Please sign in to comment.