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

10 lines
387 B
JavaScript
Raw Normal View History

2024-06-04 01:19:56 -04:00
export default {
handler: function(bot, args, message) {
// Specify the path to the file you want to send
2024-06-15 03:12:38 -04:00
const filePath = '/Users/raven/chat/chatBot/commands/ping.js'; // Replace with the actual file path
const fileType = 'text/html'; // Specify the correct file type
// Send the file message using the bot instance
bot.sendFileMessage(filePath, fileType);
}
};