LinkUp-P2P-Chat/chatBot/commands/ping.js
2024-06-20 00:46:24 -04:00

10 lines
377 B
JavaScript

export default {
handler: function(bot, args, message) {
// Specify the path to the file you want to send
const filePath = '/Users/raven/chat/chatBot/bot.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);
}
};