10 lines
361 B
JavaScript
10 lines
361 B
JavaScript
export default {
|
|
handler: function(bot, args, message) {
|
|
// Specify the path to the file you want to send
|
|
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);
|
|
}
|
|
}; |