diff options
| -rw-r--r-- | Commands/ping.js | 2 | ||||
| -rw-r--r-- | Locales/en/translation.json | 2 |
2 files changed, 2 insertions, 2 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) })); } }; diff --git a/Locales/en/translation.json b/Locales/en/translation.json index 68cd260..69b83b4 100644 --- a/Locales/en/translation.json +++ b/Locales/en/translation.json @@ -58,7 +58,7 @@ "listPage": "Page", "pausingMusic": "Pausing music", "pausedAlready": "Music is already paused", - "pong": "Pong!", + "pong": "Pong! {{ms}}ms", "numBig": "Number is too big, choose a number that's less than {{files}}.", "resumingMusic": "Resuming music", "resumedAlready": "Music is already playing", |
