Compare commits

...

2 Commits

Author SHA1 Message Date
Raven Scott
7350d134a1 update 2024-06-15 03:20:52 -04:00
Raven Scott
a6229b4b9a update readme 2024-06-15 03:19:54 -04:00
3 changed files with 3 additions and 4 deletions

View File

@ -18,7 +18,6 @@ This document provides a comprehensive guide to the bot system, detailing its st
5. [Event Handling](#event-handling) 5. [Event Handling](#event-handling)
6. [Running the Bot](#running-the-bot) 6. [Running the Bot](#running-the-bot)
7. [API Reference](#api-reference) 7. [API Reference](#api-reference)
8. [License](#license)
## Introduction ## Introduction

View File

@ -1,7 +1,7 @@
export default { export default {
handler: function(bot, args, message) { handler: function(bot, args, message) {
// Specify the path to the file you want to send // 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 = '/to/file/path.js'; // Replace with the actual file path
const fileType = 'text/html'; // Specify the correct file type const fileType = 'text/html'; // Specify the correct file type
// Send the file message using the bot instance // Send the file message using the bot instance

View File

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