Skip to content

Commit

Permalink
Change "/profile view" profile layout emoji, add emoji for each item …
Browse files Browse the repository at this point in the history
…type on the daily shop relay
  • Loading branch information
MrPowerGamerBR committed Nov 13, 2024
1 parent 1c7ebd7 commit 3eff37d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class ProfileCommand(val loritta: LorittaBot) : SlashCommandDeclarationWrapper {
ButtonStyle.LINK,
"${loritta.config.loritta.website.url}dashboard/profiles?utm_source=discord&utm_medium=profile-command&utm_campaign=daily-item-shop&utm_content-self-profile",
i18nContext.get(I18nKeysData.Commands.Command.Profileview.ChangeProfileLayout),
Emotes.Eyes.toJDA()
Emotes.LoriIdentificationCard.toJDA()
),
Button.of(
ButtonStyle.LINK,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ class DailyShopRefreshedProcessor(val loritta: LorittaBot) : LorittaInternalRpcP
embed {
val tag = item.tag
title = buildString {
when (item) {
is BackgroundItemWrapper -> append("\uD83D\uDDBC\uFE0F ")
is ProfileDesignItemWrapper -> append("${Emotes.LoriIdentificationCard} ")
}

if (tag != null) {
append("[${legacyBaseLocale[tag].uppercase()}] ")
}
Expand Down

0 comments on commit 3eff37d

Please sign in to comment.