From 31be1abee66d89e5b4120c46f231303c9fed7a23 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 17 Feb 2024 10:21:19 -0500 Subject: Made pong ms translatable --- Commands/ping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Commands/ping.js') diff --git a/Commands/ping.js b/Commands/ping.js index 3ee61e0..91d5ed0 100644 --- a/Commands/ping.js +++ b/Commands/ping.js @@ -27,6 +27,6 @@ export default { .setName('ping') .setDescription('Pong!'), async execute(interaction, bot) { - return await interaction.reply(`${t('pong')} ${Math.round(bot.ws.ping)}ms`); + return await interaction.reply(t('pong', { ms: Math.round(bot.ws.ping) })); } }; -- cgit v1.2.3