TrioBot Documentation

TrioBot is a simple twitch.tv chatbot built by TerribleTrioJoe.

Built-in Commands

Custom Commands

Authorized users can add custom commands that the bot will respond to for all users. There are two types of custom command responses: static and dynamic.

When adding or editing a custom command, the response is all text after the command name.

Examples:

TwitchUser: !addcommand name response with several words

Static Responses

Static responses are simple text responses that do not change. In other words, the command will always result in the same message sent in response by the bot. Responses are static if they do not contain a dynamic section.

Examples:

This is a static response.

Dynamic Responses

Dynamic responses allow for more interesting bot interaction.

To create a dynamic response, the response must have at least one dynamic section. Dynamic sections are composed of a dynamic function call between double square brackets ([[ and ]]).

Examples:

A dynamic response has one or more [[dynamic sections]] in the text (like [[this]]).
Note: The dynamic functions in this example are fake and will not work in a real command.

Dynamic Functions

The available dynamic functions are: arg, args, randInt, and user

Permissions

TrioBot has a simple permissions model. There are authorized users and normal users.

Authorized users are the channel owner, and specific users chosen by the owner.

Normal users are everyone else.

Authorized users can add, edit, and remove custom commands. They can check, start, restart, and reset the timer. They can also use custom commands.

Normal users can check the timer and use custom commands.

Rate Limiting

Normal users have a 30 second cooldown per command.

Authorized users have a 3 second cooldown per command.

Contact

Reach out to TerribleTrioJoe if you have questions.