fix .ping usage
This commit is contained in:
parent
ea221f8962
commit
30cd8e10dc
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@ export default class PingCommand extends Command {
|
||||||
|
|
||||||
execute(ctx: CommandContext): void {
|
execute(ctx: CommandContext): void {
|
||||||
console.log(ctx.args, ctx.argString)
|
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`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue