Skip to content

Commit

Permalink
♻️ Corrected banner display name
Browse files Browse the repository at this point in the history
  • Loading branch information
MotiCAT committed Feb 20, 2024
1 parent ba1cf56 commit c034a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/banner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export async function bannerCommand(message: Message) {
const targetUser = await message.client.users.fetch(user.id, { force: true });
const banner = targetUser.bannerURL({ size: 1024 });
if (!banner) return message.reply('バナーが設定されていませんでした。');
const embed = new EmbedBuilder().setTitle(`${user.username}のバナー`).setImage(banner).setColor('#0099ff');
const embed = new EmbedBuilder().setTitle(`${user.displayName}のバナー`).setImage(banner).setColor('#0099ff');
message.reply({ embeds: [embed] });
return;
}

0 comments on commit c034a1d

Please sign in to comment.