12.0.0 • Published 8 months ago

youtube-chatbot v12.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

About the update

Fixed problem with handler, now operative

YouTube Chat Bot

This project is a bot for YouTube Live Chat developed with Node.js. It allows automated actions in response to commands entered by users in the live chat. The commands and their functionalities are defined in a configuration JSON file, making it easy to customize the bot's responses.

Features

  • Google OAuth2 authentication to access YouTube Live details.
  • Real-time monitoring of messages in YouTube live chat.
  • Execution of custom commands defined in a configuration file.
  • Automated chat responses based on custom scripts.
  • Uses YouTube API to perform actions based on live chat.

About the creator

Im Javi17mod, an experienced in back-end programming, i usually program in node.js, wich im more experiences in it, i have a youtube channel of Minecraft, Geometry Dash and Brawl Stars, check out here: YouTube channel of Javi17mod (@Javi17mod)

Function for commands

StructureUse of function
chat(text)Makes the bot write a message, you can insert variables on it while it returns text.
fileCreate(filePath, content)It creates a file with content, in filePath you put the file and in content, the text that you wana put in the file.
fileModify(filePath, content)Modifies the content of the file, it adds to the next line the content entered in the function.
fileSet(filePath, content)Sets content of the file, replaces everything in the file .
fileDelete(filePath)Deletes the file.
fileRead(filePath)Reads the file and returns it, it works like this: var content = fileRead("myfile.txt").
fileClassify(filePath)Returns the number of the lines in the specified file, it works like this: var lines = fileClassify("myfile.txt").

Variables

The variables of the input and author are processed like this, {{author}}, the author variable doesnt need to be declared, it returns the sender username of the command, and for the commands that needs input, declared the name that you entered in the input part of the command

How to contact me

Just send an email to javi17mod@gmail.com

12.0.0

8 months ago

11.0.0

8 months ago

10.0.0

8 months ago

9.0.0

8 months ago

1.0.43

9 months ago

1.0.42

9 months ago

1.0.41

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago