forked from snxraven/LinkUp-P2P-Chat
10 lines
387 B
JavaScript
10 lines
387 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/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);
|
|
}
|
|
}; |