diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-06-19 20:54:02 +0000 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-06-19 20:54:02 +0000 |
commit | d365eb98f386e0e99f4d9daaf7a1b91195889d2c (patch) | |
tree | 1b66a5ac077da2346757628c2fc78e966a72cf41 /src/commands/info/ping.ts | |
parent | 16bc2ea54f094c005a56e3f473847b7a33f78cc0 (diff) | |
download | tanzanite-d365eb98f386e0e99f4d9daaf7a1b91195889d2c.tar.gz tanzanite-d365eb98f386e0e99f4d9daaf7a1b91195889d2c.tar.bz2 tanzanite-d365eb98f386e0e99f4d9daaf7a1b91195889d2c.zip |
Automatically format code
Diffstat (limited to 'src/commands/info/ping.ts')
-rw-r--r-- | src/commands/info/ping.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/info/ping.ts b/src/commands/info/ping.ts index f0b4a2f..5552573 100644 --- a/src/commands/info/ping.ts +++ b/src/commands/info/ping.ts @@ -17,7 +17,7 @@ export default class PingCommand extends BushCommand { } public async exec(message: Message): Promise<void> { - const sentMessage = await message.util.send('Pong!') as Message; + const sentMessage = (await message.util.send('Pong!')) as Message; const timestamp: number = message.editedTimestamp ? message.editedTimestamp : message.createdTimestamp; const botLatency = `\`\`\`\n ${Math.floor(sentMessage.createdTimestamp - timestamp)}ms \`\`\``; const apiLatency = `\`\`\`\n ${Math.round(message.client.ws.ping)}ms \`\`\``; |