aboutsummaryrefslogtreecommitdiff
path: root/Commands/ping.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-02-17 10:21:19 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-02-17 10:21:19 -0500
commit31be1abee66d89e5b4120c46f231303c9fed7a23 (patch)
tree7dd338f00c020e027be55c178979a1f8059bc8ff /Commands/ping.js
parent0414f7d5da426f9d0b8082727ec7f8085515fffa (diff)
downloadDLAP-31be1abee66d89e5b4120c46f231303c9fed7a23.tar.gz
DLAP-31be1abee66d89e5b4120c46f231303c9fed7a23.tar.bz2
DLAP-31be1abee66d89e5b4120c46f231303c9fed7a23.zip
Made pong ms translatable
Diffstat (limited to 'Commands/ping.js')
-rw-r--r--Commands/ping.js2
1 files changed, 1 insertions, 1 deletions
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) }));
}
};