fix .ping usage

This commit is contained in:
DjDeveloperr 2021-04-17 13:49:26 +05:30
parent ea221f8962
commit 30cd8e10dc

View file

@ -5,6 +5,6 @@ export default class PingCommand extends Command {
execute(ctx: CommandContext): void {
console.log(ctx.args, ctx.argString)
ctx.message.reply(`Pong! Latency: ${ctx.client.ping}ms`)
ctx.message.reply(`Pong! Latency: ${ctx.client.gateway.ping}ms`)
}
}