Skip to content

Commit

Permalink
chore(style): format code
Browse files Browse the repository at this point in the history
  • Loading branch information
mezotv committed Apr 28, 2024
1 parent c5ea0e8 commit a8524eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/buttons/gamesActivities/higher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ const button: Button = {
guildDb?.language,
"HigherLower.error.user",
{
user: interaction.message.interaction?.user.username ? interaction.message.interaction?.user.username : interaction?.message.embeds[0]?.footer?.text.split(" | ")[0],
user: interaction.message.interaction?.user.username
? interaction.message.interaction?.user.username
: interaction?.message.embeds[0]?.footer?.text.split(" | ")[0],
},
),
ephemeral: true,
Expand Down
4 changes: 3 additions & 1 deletion src/buttons/gamesActivities/lower.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ const button: Button = {
guildDb?.language != null ? guildDb.language : "en_EN",
"HigherLower.error.user",
{
user: interaction.message.interaction?.user.username ? interaction.message.interaction?.user.username : interaction?.message.embeds[0]?.footer?.text.split(" | ")[0],
user: interaction.message.interaction?.user.username
? interaction.message.interaction?.user.username
: interaction?.message.embeds[0]?.footer?.text.split(" | ")[0],
},
),
ephemeral: true,
Expand Down

0 comments on commit a8524eb

Please sign in to comment.