Skip to content

Commit

Permalink
Merge pull request #16 from Streamerbot/dev
Browse files Browse the repository at this point in the history
More trovo changes
  • Loading branch information
GoWMan813 authored Dec 2, 2023
2 parents 78a8e81 + 95f286e commit fe63a60
Show file tree
Hide file tree
Showing 21 changed files with 113 additions and 21 deletions.
7 changes: 7 additions & 0 deletions streamerbot/3.api/1.sub-actions/trovo/0.index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
icon: IconTrovo
navigation: false
---

# Trovo Sub-Actions
Reference of all available Trovo sub-actions
7 changes: 7 additions & 0 deletions streamerbot/3.api/1.sub-actions/trovo/_dir.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: Trovo Sub-Actions
icon: IconTrovo
aside.level: 3
category.title: Trovo Sub-Actions
category.icon: IconTrovo
navigation.title: Trovo
navigation.description: Control your Trovo stream with Streamer.bot
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions streamerbot/3.api/1.sub-actions/trovo/chat/clear-chat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Clear Chat
:wip
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Send Message to Channel
Send a chat message on your channel.

:image-preview

## Parameters
### `Preferred Account`
Select the Twitch account to use when sending the message:
- `Bot`: Send the message from your bot account
- `Broadcaster`: Send the message from your broadcaster account

### `Message`
Enter the text you would like to send

## C# Usage
:csharp-method
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Get Latest Follower
:wip
6 changes: 5 additions & 1 deletion streamerbot/3.api/2.triggers/trovo/channel/follow.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ The trovo follow trigger runs when you get a follow.
## Variables
:variables-description

:wip
Name | Description
----:|:------------
`timestamp` | The timestamp of the follow

:variables{name=TrovoUser disclosure}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Broadcaster Authenticated
Trovo broadcaster authenticated trigger.

## Details
The trovo broadcaster authenticated trigger runs when your trovo broadcaster account is authenticated.

## Variables
:variables-description{empty}
11 changes: 11 additions & 0 deletions streamerbot/3.api/2.triggers/trovo/general/first-words.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# First Words
Trovo first words trigger.

## Details
The trovo first words trigger runs when someone places their first chat message in 12 hours. To reset the first words or change the 12 hours go to `Platforms > Trovo > Settings`

## Variables
:variables-description

:variables{name=TrovoChat disclosure}
:variables{name=TrovoUser disclosure}
37 changes: 37 additions & 0 deletions streamerbot/3.api/2.triggers/trovo/general/present-viewers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Present Viewers
Trovo present viewers trigger.

## Details
The present viewers trigger runs every 1-10 minutes, by default every 5 minutes. It'll give a list of all the users in your stream, this data can be only used in C#.

::list
- Trovo Service: `Chat Client`
::

## Variables
:variables-description
Name | Description
----:|:------------
`title` | ik1497's channel
`audienceType` | The current audience type
`categoryId` | The current category ID
`categoryName` | The current category name
`viewerCount` | The current viewer count
`subscribers` | The amount of subscribers
`followers` | The amount of followers
`startedAt` | The epoch time the stream has stated
`isLive` | Boolean for current streaming status <br> `True`/`False`
`users` | A C# Dictionary list of usernames present in chat <br> Each user present will get [the following data](#users-dictionary)

### users Dictionary
Name | Description | Example
----:|:------------|:--------
`id` | The user id of the user | `trovo_678296378`
`userName` | The user name of the user | `trovouser123`
`display` | The display name of this user | `TrovoUser123`
`role` | The role of the user | 1=`Viewer`, 2=`VIP`, 3=`Moderator`, 4=`Broadcaster`
`isSubscribed` | Boolean value indicating user's subscription status | `True`/`False`
`isModerator` | Boolean value indicating if the user is a moderator | `True`/`False`

:wip
* Role in users dictionary
2 changes: 2 additions & 0 deletions streamerbot/3.api/2.triggers/trovo/raid/raid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Raid
:wip
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Custom Spell Cast
:wip
2 changes: 2 additions & 0 deletions streamerbot/3.api/2.triggers/trovo/spells/spell-cast.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Spell Cast
:wip
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Gift Subscription
:wip
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Mass Gift Subscription
:wip
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Resubscription
:wip
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Subscription
:wip
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ Name | Description
`userName` | The user name of the user
`display` | The display name of this user
`role` | The role of the user <br> 1=`Viewer`, 2=`VIP`, 3=`Moderator`, 4=`Broadcaster`
`isSubscribed` | Boolean value indicating user's subscription status <br> `True`/`False`
`isSubscribed` | Boolean value indicating user's subscription status <br> `True`/`False`
6 changes: 3 additions & 3 deletions streamerbot/3.api/_variables/TrovoUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ variables.summaryIcon: mdi:account

| Name | Description | Example |
|-----:|:------------|:--------|
`user` | The display name of the user | `TwitchUser123`
`userName` | The login name of the user | `twitchuser123`
`userId` | Unique user identifier | `a126e8a8-43f7-4a14-8990-e8c3feea76d8`
`user` | The display name of the user | `TrovoUser123`
`userName` | The login name of the user | `trovouser123`
`userId` | Unique user identifier | `trovo_678296378`
`userType` | Streaming service of this user | `trovo`
`isSubscribed` | Is this user subscribed? | `True` / `False`
`isModerator` | Is this user a moderator? | `True` / `False`
Expand Down

0 comments on commit fe63a60

Please sign in to comment.