From 150b69a2a20bd7e0b134a7cb4118aa2f5e6a0860 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Sat, 15 Jun 2024 03:04:41 -0400 Subject: [PATCH] update example paths --- chatBot/commands/ping.js | 2 +- chatBot/commands/test-audio.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chatBot/commands/ping.js b/chatBot/commands/ping.js index f9e0044..4f6120d 100644 --- a/chatBot/commands/ping.js +++ b/chatBot/commands/ping.js @@ -1,7 +1,7 @@ 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 filePath = '/path/to/file.png'; // Replace with the actual file path const fileType = 'text/html'; // Specify the correct file type // Send the file message using the bot instance diff --git a/chatBot/commands/test-audio.js b/chatBot/commands/test-audio.js index d185839..b866ee0 100644 --- a/chatBot/commands/test-audio.js +++ b/chatBot/commands/test-audio.js @@ -1,8 +1,8 @@ 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 + const audioFilePath = '/path/to/audio/file'; // Replace with the actual audio file path + const audioType = 'audio'; // Send the audio message using the bot instance bot.sendAudioMessage(audioFilePath, audioType);