π¦ping
The ping
event is triggered whenever the server sends a ping, automatically responds with a PONG before emitting this event.
bot.on('ping', (data) => {
// Your code here
});
Parameters
data.server
(string) β Server host that sent ping
Last updated