diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-02-17 10:21:19 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-02-17 10:21:19 -0500 |
| commit | 31be1abee66d89e5b4120c46f231303c9fed7a23 (patch) | |
| tree | 7dd338f00c020e027be55c178979a1f8059bc8ff /Commands/ping.js | |
| parent | 0414f7d5da426f9d0b8082727ec7f8085515fffa (diff) | |
| download | DLAP-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.js | 2 |
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) })); } }; |
