Compare commits
No commits in common. "7350d134a153a4c618037e2e2a857a1295c26688" and "c477a988fd4b25aa02218e32a2d3d3d5d4436ce3" have entirely different histories.
7350d134a1
...
c477a988fd
@ -18,6 +18,7 @@ This document provides a comprehensive guide to the bot system, detailing its st
|
||||
5. [Event Handling](#event-handling)
|
||||
6. [Running the Bot](#running-the-bot)
|
||||
7. [API Reference](#api-reference)
|
||||
8. [License](#license)
|
||||
|
||||
## Introduction
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
export default {
|
||||
handler: function(bot, args, message) {
|
||||
// Specify the path to the file you want to send
|
||||
const filePath = '/to/file/path.js'; // Replace with the actual file path
|
||||
const filePath = '/Users/raven/chat/chatBot/commands/ping.js'; // Replace with the actual file path
|
||||
const fileType = 'text/html'; // Specify the correct file type
|
||||
|
||||
// Send the file message using the bot instance
|
||||
|
@ -1,7 +1,7 @@
|
||||
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 audioFilePath = '/Users/raven/discord-linux.mp3'; // Replace with the actual audio file path
|
||||
const audioType = 'audio';
|
||||
|
||||
// Send the audio message using the bot instance
|
||||
|
Loading…
Reference in New Issue
Block a user