13 lines
322 B
JavaScript
13 lines
322 B
JavaScript
module.exports = exports = async (message, connector) => {
|
|
console.log('Received ping!');
|
|
message.send_response(message.fresh())
|
|
|
|
connector.send(
|
|
message.fresh()
|
|
.route('meta.ping')
|
|
.expect_response(res => {
|
|
console.log('Received pong!');
|
|
})
|
|
)
|
|
}
|