Skip to content

Commit

Permalink
fix: discriminator deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirasaki committed Jun 18, 2023
1 parent 79a6a94 commit 9714318
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/system/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = new ChatInputCommand({
{
color: colorResolver(),
author: {
name: `${ client.user.tag }`,
name: `${ client.user.username }`,
iconURL: client.user.displayAvatarURL()
},
fields: [
Expand Down
2 changes: 1 addition & 1 deletion src/context-menus/user/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = new UserContextCommand({
const userInfoEmbed = new EmbedBuilder({
color: colorResolver(colors.main),
author: {
name: targetMember.user.tag,
name: targetMember.user.username,
icon_url: targetMember.user.avatarURL({ dynamic: true })
},
description: stripIndents`
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ const generateCommandOverviewEmbed = (commands, interaction) => {
title: `Command help for ${ guild.name }`,
color: colorResolver(colors.main),
fields,
footer: { text: `Requested by ${ member.user.tag }` }
footer: { text: `Requested by ${ member.user.username }` }
};
};

Expand Down

0 comments on commit 9714318

Please sign in to comment.