5. Broadcast System
Before we delve into addons, which will make TTVST actually productive, I should take some time to talk about the broadcasting system that is the foundation for communication between addons or addon components. Addons can register either “Actions”, “Triggers” or both in this broadcasting system. Actions and triggers will both be broadcasted to all addons or addon components that will listen to them.
Actions can be executed on demand and come with an optional set of parameters.
For example: You can send a message to your channel with an action.
Triggers can be used to execute something when a specific event happens. Triggers come with an options set of arguments.
For example: You can let a chatbot flow execute when someone writes something in your channel.