LinkUp-P2P-Chat/chatBot/commands/ping.js

7 lines
130 B
JavaScript

// ping.js
export default {
handler: function(bot, args, message) {
bot.sendMessage(message.peers, 'Pong!');
}
};