forked from Galactic/galactic-bot
message.guild.format -> message.format
This commit is contained in:
parent
61c75f20e0
commit
369cff7423
@ -17,7 +17,7 @@ class PingCommand extends Command {
|
||||
|
||||
async execute(message) {
|
||||
const ping = this.client.ws.ping.toFixed(0);
|
||||
return message.respond(`${message.guild.format('PING_COMMAND_RESPONSE')} \`${ping}ms\``, { emoji: 'success' });
|
||||
return message.respond(`${message.format('PING_COMMAND_RESPONSE')} \`${ping}ms\``, { emoji: 'success' });
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user