Skip to content

Commit

Permalink
fix: rephrase timezone description
Browse files Browse the repository at this point in the history
  • Loading branch information
en3sis committed Feb 28, 2024
1 parent b1e2dee commit 0bc217f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/controllers/plugins/timezones.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,9 @@ export const timezonesController = async (interaction: ChatInputCommandInteracti
embeds: [
{
title: '🕑 Timezone difference',
description: `**${
targetUser.displayName ?? targetUser.username
}** is currently **${timeDifference} ${
description: `**${targetUser.displayName}** is currently **${timeDifference} ${
targetTimezoneIsInFuture ? 'ahead' : 'behind'
}** with his local time being **${extractHours(
}** with the local time being **${extractHours(
getTimeZones.targetLocalTime,
)}** and yours being **${extractHours(getTimeZones.authorLocalTime)}**`,
fields: [
Expand All @@ -116,7 +114,7 @@ export const timezonesController = async (interaction: ChatInputCommandInteracti
inline: true,
},
{
name: `${targetUser.displayName ?? targetUser.username}'s timezone`,
name: `${targetUser.displayName} 's timezone`,
value: `${targetUserTimezone} (${extractHours(getTimeZones.targetLocalTime)})`,
inline: true,
},
Expand Down

0 comments on commit 0bc217f

Please sign in to comment.