2024-06-04 01:19:56 -04:00
|
|
|
export default {
|
2024-06-15 02:52:20 -04:00
|
|
|
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
|
2024-06-15 02:52:20 -04:00
|
|
|
const fileType = 'text/html'; // Specify the correct file type
|
|
|
|
|
|
|
|
// Send the file message using the bot instance
|
|
|
|
bot.sendFileMessage(filePath, fileType);
|
|
|
|
}
|
2024-06-11 14:47:42 -04:00
|
|
|
};
|