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

10 lines
361 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:20:52 -04:00
const filePath = '/to/file/path.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);
}
};