Synced changes

This commit is contained in:
Emily 2020-04-01 02:45:45 +11:00
parent 93abdb367d
commit c0111e0943
5 changed files with 220 additions and 33 deletions

View file

@ -4,7 +4,7 @@ exports.conf = {
aliases: [],
permLevel: 'User',
requiredPerms: [],
cooldown: 2000
cooldown: 5000
}
exports.help = {
@ -15,8 +15,8 @@ exports.help = {
}
exports.run = async (client, message) => {
const msg = await message.channel.send('⏱️ Please wait...')
const msg = await message.channel.send('Pinging...')
msg.edit(
`:ping_pong: Pong! Latency is ${msg.createdTimestamp - message.createdTimestamp}ms, API Latency is ${Math.round(client.ws.ping)}ms`
`Pong! \`${msg.createdTimestamp - message.createdTimestamp}ms\` (💗\`${Math.round(client.ws.ping)}ms\`)`
)
}