This repository has been archived on 2024-01-30. You can view files and clone it, but cannot push or open issues or pull requests.
2021-01-23 01:08:05 -06:00
|
|
|
module.exports = {
|
|
|
|
name: "ping",
|
|
|
|
description: "Gets bot ping",
|
|
|
|
execute(client, message, args) {
|
|
|
|
const embed = {
|
|
|
|
"title": ":ping_pong: Ping",
|
2021-02-25 01:03:33 -06:00
|
|
|
"color": 9442302,
|
2021-01-23 01:08:05 -06:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "Ping is " + client.ws.ping + " ms",
|
2021-07-21 16:03:29 -05:00
|
|
|
"value": "If this is more than 350ms there may be a problem!"
|
2021-01-23 01:08:05 -06:00
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
message.channel.send({ embed });
|
|
|
|
}
|
|
|
|
};
|