forked from snxraven/LinkUp-P2P-Chat
10 lines
421 B
JavaScript
10 lines
421 B
JavaScript
|
export default {
|
||
|
handler: function(bot, args, message) {
|
||
|
// Specify the path to the audio file you want to send
|
||
|
const audioFilePath = '/Users/raven/discord-linux.mp3'; // Replace with the actual audio file path
|
||
|
const audioType = 'audio'; // Specify the correct audio file type
|
||
|
|
||
|
// Send the audio message using the bot instance
|
||
|
bot.sendAudioMessage(audioFilePath, audioType);
|
||
|
}
|
||
|
};
|