- Bot
!announce
- Announcementsnosleep
- Disables automatic sleepstart
- Re-enables announcements after being disabledstop
- Disables announcements completelytime
- Sets the frequency of Announcementslist
- Lists all of the commands to the consoledel
- Deletes an announcement by ID.add
- Adds a new announcement to Default categoryenable
- Enables an announcement by IDdisable
- Disables an announcement by IDstatus
- Displays status in chatcategory
- Base command
!channelpoint_cooldown
- Base command!allowlinks
- Allows links from a user to be sent to discord!disable_attn
- Disable Attention!ignorelinks
- Ignore links from a user to be sent to discord!treatme
- Sends a Treat!treatmenow
- Force sends a treat!topic
- Chat Topic (Alias:!project
)wig
- Base commandstream
- Stream controlsmqtttest
- Tests the connection to MQTTignore
- Ignore users based on a patternclear_poll
- Clears the setup data in MQTT for the poll display.so
- Shoutoutstrivia
- Trivia base commandvipupdate
- Forces the bot to sync with Twitch's VIP listtodo
- The bot will send the entire contents of the message to a pre-defined discord channel
- Web
- MQTT
Permission: Admin (for all sub commands)
Base command, doesn't do anything directly
This is saved in the database and will survive restarts.
This is saved in the database and will survive restarts.
Send the time in seconds as a parameter for frequency of announcements.
Send the ID as a parameter. If message is the last in the active category, resets active category to Default
Send the Announcement you want to add as the parameter
Send the ID to be enabled as the parameter
Send the ID to be disable as the parameter
Doesn't do anything directly
Send name of new category as paremeter
Send ID as parameter to delete category. Must not have any announcements assigned Can not delete Default
Send {AnnouncementID:int} {CategoryID:int} as parameters
Sets the {CategoryID:int} as the active category.
Permission: Admin For setting channelpoint cooldowns
Permission: Admin Send new cooldown in seconds as parameter
Permission: Admin Send new cooldown in seconds as parameter
Permission: Admin Send username to allow links from as the parameter
Permission: Admin Disables sending the MQTT publish to twitch-attn-indi
Permission: Admin Send username to ignore links from as the parameter
Permission: Everyone / Admin Sends a MQTT publish of 1 to dispense-treat-toggle if an Admin user and emoji requirements have been met. Sends a message to the channel reminding users to use the emoji
Permission: Admin Note: Does not survive bot restart.
Permission: Admin Note: Does not survive bot restart.
Permission: Admin Immediately sends a treat, for testing purposes
Permission: Everyone Posts to chat the currently set topic
Permission: Admin
!topic set New topic text
Permission: Admin
!topic goal New goal text
Permission: Admin
!topic step New text for the current step
Permission: Admin
!topic link New note or link for project
Permission: Admin
Permission: Admin Send time in seconds as parameter
Permission: Admin Send wig name as parameter
Permission: Admin Send wig ID as parameter
Permission: Admin
Permission: Admin Send wig ID as parameter
Permission: Admin Send wig ID as parameter
Permission: Admin Send wig Name as parameter
Permission: Admin No parameters
Permission: Admin Base Command
Permission: Admin Send "true" or "false" as parameter
This is intended for use by automated scripting, and should only be used to fix an invalid state.
Permission: Admin
Permission: Admin
Permission: Admin
Permission: Admin
Sends the arguments as the value to stream/mqtttest
topic.
Permission: Admin
Parameters: Regex pattern for desired username to be ignored.
Permission: Admin
Paramaters: ID of pattern to remove.
Permission: Admin
Permission: Admin
Permission: Admin
Permission: Admin, Groups with the "so" permission. Paramaters: Username to shoutout to Responds with the shoutout message for the username specified, or with the last raided user.
Permission: Admin
Parameters: Message
Adding {channel}
to the message will be replaced by the username being highlighted.
Permission: Admin
Permission: Admin
Permission: Admin
Permission: todo (Intended for VIP's to use)
Requires
access_token
header- JSON object as the data with:
- command: The command to send
- args: Arguments to pass to the command, include subcommands here. Must be a LIST ex:
[arg1, arg2, arg3]
Example with curl:
curl --header "Content-Type: application/json" --header "access_token: testKey" --request POST --data '{"command":"!topic", "args":["set", "New", "topic"], "silent":false}' http://localhost:5000/send_command
Returns the current Bot topic as a json object of {"topic":"Topic text"}
Requires
access_token
header- JSON object as the data with
topic
as the only needed key, and text as the value.{"topic":"Topic text"}
Example with curl:
curl --header "Content-Type: application/json" --header "access_token: testKey" --request POST --data '{"topic":"Test topic sent from a json post"}' http://{WEB_HOSTNAME}/topic
All Stream related MQTT topics are prefixed with stream/
treat-in-queue
TwitchBot sends 1 when a treat is in the queuedispense-treat-toggle
TwitchBot sends 1, TreatBot should listen for 1. TreatBot should reset to 0 when done.treat_status
TwitchBot sends json object of TreatBot status.{"current": int(current count), "needed":int(needed count), "complete": bool(True if treat is being dispensed.)}
twitch-attn-indi
TwitchBot sends 1, AttentionBot should listen for 1. AttentionBot should reset to 0 when done.channel-raid
TwitchBot sends username of raiderchannel-subscription
TwitchBot sends username of subscriberchannel-cheer
TwitchBot sends json of{"username": username, "bits": bits_used, "total_bits": total_bits_used}
channel-follow
TwitchBot sends str of username that followed.yay-toggle
TwitchBot sends 1, OBSBot should listen for 1 to activate Yay scene.poll/setup
TwitchBot sends json of poll setup datapoll/data
TwitchBot sends json of poll dataverify1k
TwitchBot sends 1mqtttest
TwitchBot sends string of args givenfirst_time_chatter
TwitchBot sends json{"author":"author name", "timestamp"=str(datetime.now())}
when a new chatter is seen ever.new_chatter_topic
TwitchBot sends json{"author":"author name", "timestamp"=str(datetime.now())}
when a new chatter is seen for the first time this stream.
This is a test, this is only a test.