forked from snxraven/LinkUp-P2P-Chat
update example paths
This commit is contained in:
parent
487bc13970
commit
150b69a2a2
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user