From 8b91641c2f6632d1b01dedc001349f0f1cb13c1b Mon Sep 17 00:00:00 2001 From: MrTuxedo Date: Fri, 21 Apr 2023 17:18:31 -0700 Subject: [PATCH] fix some formatting --- src/gasAlertChecker.ts | 2 +- src/handlers.ts | 3 +-- src/index.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gasAlertChecker.ts b/src/gasAlertChecker.ts index c91cb5e..39b7cac 100644 --- a/src/gasAlertChecker.ts +++ b/src/gasAlertChecker.ts @@ -24,7 +24,7 @@ const createGasAlertChecker = (client: DiscordClient) => .setTitle('Gas price alert!') .setDescription(`<@${gasAlert.userId}>! Gas prices have fallen below your alert threshold of ${gasAlert.threshold} Gwei: -⚡ ${gasPrices.fast} ⦚⦚ 🚶 ${gasPrices.average} ⦚⦚ 🐢 ${gasPrices.slow}`) +⚡ ${gasPrices.fast} ⦚⦚🚶 ${gasPrices.average} ⦚⦚ 🐢 ${gasPrices.slow}`) .setColor('#FF8C00') ], target: user diff --git a/src/handlers.ts b/src/handlers.ts index 2bb45cd..b5935ac 100644 --- a/src/handlers.ts +++ b/src/handlers.ts @@ -16,8 +16,7 @@ const handleGasCommand = async (interaction: ChatInputCommandInteraction): Promi const embed = new EmbedBuilder() .setColor('#0099ff') .setTitle('Current Gas Prices') - .setDescription(`⚡ ${gasPrices.fast} ⦚⦚ 🚶 ${gasPrices.average} ⦚⦚ 🐢 ${gasPrices.slow}`) - + .setDescription(`⚡ ${gasPrices.fast} ⦚⦚🚶 ${gasPrices.average} ⦚⦚ 🐢 ${gasPrices.slow}`); await interaction.reply({ embeds: [embed] }); } else { console.log(`Error fetching gas prices!`); diff --git a/src/index.ts b/src/index.ts index 82b8c0d..e63bd43 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,7 +27,7 @@ const doAlerts = createGasAlertChecker(client); const setDiscordStatus = async ({ average, fast, slow }: GasPrices) => { if (client.user) { client.user.setActivity( - `⚡${fast} ⦚ 🚶${average} ⦚ 🐢${slow}` + `⚡ ${fast} ⦚⦚🚶 ${average} ⦚⦚ 🐢 ${slow}` , { type: ActivityType.Watching }); } }