Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Oct 26, 2023
1 parent d5e2ff8 commit 7e1be60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/xp/xp.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { ApplicationCommandOptionType, ApplicationCommandType } from 'discord-ap
import { formatDayCount, getActualDailyStreak } from './dailyReward.command.js'
import { wrapInTransaction } from '../../sentry.js'
import { format } from '../core/info.command.js'
import {pseudoMention} from "../../util/users.js";

export const XpCommand: Command<ApplicationCommandType.ChatInput> = {
name: 'xp',
Expand All @@ -34,7 +35,7 @@ export const XpCommand: Command<ApplicationCommandType.ChatInput> = {
await interaction.followUp({
embeds: [
createStandardEmbed(member)
.setTitle(`Profile of ${user.username}#${user.discriminator}`)
.setTitle(`Profile of ${pseudoMention(user)}`)
.setFields({
name: '🔮 Level',
value: `${ddUser.level}`,
Expand Down

0 comments on commit 7e1be60

Please sign in to comment.