This commit is contained in:
Raven Scott
2024-06-15 03:28:36 -04:00
parent 7350d134a1
commit 5080c37bcf
2 changed files with 128 additions and 8 deletions

View File

@ -1,10 +1,10 @@
export default {
handler: function(bot, args, message) {
// Specify the path to the audio file you want to send
const audioFilePath = '/to/file/path.mp3'; // Replace with the actual audio file path
const audioType = 'audio';
handler: function(bot, args, message) {
// Specify the path to the audio file you want to send
const audioFilePath = '/to/file/path.mp3'; // Replace with the actual audio file path
const audioType = 'audio';
// Send the audio message using the bot instance
bot.sendAudioMessage(audioFilePath, audioType);
}
};
// Send the audio message using the bot instance
bot.sendAudioMessage(audioFilePath, audioType);
}
};