Skip to content

Commit

Permalink
Adding multiple csharp classes. Adding Reward Redemption Updated trig…
Browse files Browse the repository at this point in the history
…ger page. Started adding FourthWall Trigger pages. Adding additionaly FAQ 26 "Update All actions to ..."
  • Loading branch information
pwnyy authored Apr 24, 2024
1 parent ab98f35 commit db56354
Show file tree
Hide file tree
Showing 10 changed files with 417 additions and 0 deletions.
7 changes: 7 additions & 0 deletions streamerbot/1.get-started/_faq/26.obs-alerts-after-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
description: Actions are triggering but OBS Alerts are not showing up?
---

After updating Streamer.bot or OBS, some of your OBS alerts are not working correctly anymore? You confirmed that they are running in your action history (`Action Queues -> Action History`), and they also work fine when testing the OBS subactions themselves?

The usual fix for this would be to go to `StreamApps -> OBS`, here you right-click the OBS connection which you are using to display your alerts, then click on `Update All Actions to...`. This will update **ALL** your OBS sub-actions to that specific OBS connection, so be also mindful when you use it. If you don't want to update all your sub-actions you'd have to go to each action and "update" the OBS subaction by re-setting them to the OBS connection again.
43 changes: 43 additions & 0 deletions streamerbot/3.api/2.triggers/integrations/fourthwall/donation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: Donation
description: Trigger for a FourthWall Donation
version: 0.2.3
variables:
- name: fw.createdAt
type: DateTime
description: The DateTime of the donation in UTC
- name: fw.donationId
type: string
description: Id of the donation
- name: fw.shopId
type: string
description: Id of the shop
value: sh_7ad0c438-beda-4779-a885-0dc325a755c1
- name: fw.username
type: string
description: Username of the supporter
- name: fw.email
type: string
description: E-mail adress of the supporter
value: [email protected]
- name: fw.message
type: string
description: Attached message
value: message from supporter
- name: fw.amount
type: number
description: Amount of donation
value: 5
- name: fw.currency
type: string
description: Donation currency
value: USD
- name: fw.status
type: string
description: Status of the donation
value: COMPLETED
---

## Parameters
### `Range`
:range-description
124 changes: 124 additions & 0 deletions streamerbot/3.api/2.triggers/integrations/fourthwall/order-placed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
---
title: Order Placed
description: Trigger for a FourthWall Order being placed
version: 0.2.3
variables:
- name: fw.createdAt
type: DateTime
description: The DateTime of the placed order in UTC
- name: fw.UpdatedAt
type: DateTime
description: The DateTime of the updated status in UTC
- name: fw.orderId
type: string
description: Id of the order
- name: fw.shopId
type: string
description: Id of the shop
value: sh_7ad0c438-beda-4779-a885-0dc325a755c1
- name: fw.friendly
type: string
description: Friendly Id
value: F2LGPYCV
- name: fw.checkoutId
type: string
description: Id of check out
- name: fw.status
type: string
description: Status of the oder
value: COMPLETED
- name: fw.email
type: string
description: E-mail adress of the supporter
value: [email protected]
- name: fw.emailMarketingOptIn
type: boolean
description: If user opted in to email marketing
- name: fw.username
type: string
description: Username of the supporter
- name: fw.statmessageus
type: string
description: Attached message
value: message from supporter
- name: fw.currency
type: string
description: Donation currency
value: USD
- name: fw.subtotal
type: number
description: Subtotal of order
value: 10
- name: fw.shipping
type: number
description: Shipping Cost
value: 5
- name: fw.tax
type: number
description: Tax Cost
value: 1
- name: fw.donation
type: number
description: Donation added to the order
value: 3
- name: fw.discount
type: number
description: Discount amount that was applied
value: 2
- name: fw.total
type: number
description: Order total amount
value: 17
- name: fw.variants[\#].id
type: string
description: Product Id
value: b2c201d3-8104-4b2a-b2c9-1f6b335b650a
- name: fw.variants[\#].name
type: string
description: Product name
value: New T-shirt
- name: fw.variants[\#].sku
type: string
description: SKU number of product
value: Z3YD-8CTV00S
- name: fw.variants[0].image
type: string
description: Link of the first product image
value: https://cdn.staging.fourthwall.com/customization/sh_7ad0c438-beda-4779-a885-0dc325a755c1/5a125858-0e0c-4099-996f-db61cbd62f8e.jpeg
- name: fw.variants[0].unitPrice
type: number
description: Price of product
value: 5
- name: fw.variants[0].currencyCode
type: string
description: Currency code
value: USD
- name: fw.variants[0].quantity
type: string
description: Quantity of product in order
value: 2
- name: fw.variants[0].attributes.description
type: string
description: Product description
value: White, S
- name: fw.variants[0].attributes.color
type: string
description: Color of product
value: White
- name: fw.variants[0].attributes.colorSwatch
type: string
description: Hex color of product
value: \#FFFFFF
- name: fw.variants[0].attributes.size
type: string
description: Size of product
value: S
- name: fw.variants[0].stock
type: string
description: Current stock of product
value: 0
- name: fw.source
type: string
description: Type of FourthWall webhook
value: ORDER
---
128 changes: 128 additions & 0 deletions streamerbot/3.api/2.triggers/integrations/fourthwall/order-updated.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
---
title: Order Placed
description: Trigger for a FourthWall Order being placed
version: 0.2.3
variables:
- name: fw.createdAt
type: DateTime
description: The DateTime of the placed order in UTC
- name: fw.UpdatedAt
type: DateTime
description: The DateTime of the updated status in UTC
- name: fw.orderId
type: string
description: Id of the donation
- name: fw.shopId
type: string
description: Id of the shop
value: sh_7ad0c438-beda-4779-a885-0dc325a755c1
- name: fw.friendly
type: string
description: Friendly Id
value: F2LGPYCV
- name: fw.checkoutId
type: string
description: Id of check out
- name: fw.status
type: string
description: Status of the order
value: SHIPPED
- name: fw.email
type: string
description: E-mail adress of the supporter
value: [email protected]
- name: fw.emailMarketingOptIn
type: boolean
description: If user opted in to email marketing
- name: fw.username
type: string
description: Username of the supporter
- name: fw.statmessageus
type: string
description: Attached message
value: message from supporter
- name: fw.currency
type: string
description: Donation currency
value: USD
- name: fw.subtotal
type: number
description: Subtotal of order
value: 10
- name: fw.shipping
type: number
description: Shipping Cost
value: 5
- name: fw.tax
type: number
description: Tax Cost
value: 1
- name: fw.donation
type: number
description: Donation added to the order
value: 3
- name: fw.discount
type: number
description: Discount amount that was applied
value: 2
- name: fw.total
type: number
description: Order total amount
value: 17
- name: fw.variants[\#].id
type: string
description: Product Id
value: b2c201d3-8104-4b2a-b2c9-1f6b335b650a
- name: fw.variants[\#].name
type: string
description: Product name
value: New T-shirt
- name: fw.variants[\#].sku
type: string
description: SKU number of product
value: Z3YD-8CTV00S
- name: fw.variants[0].image
type: string
description: Link of the first product image
value: https://cdn.staging.fourthwall.com/customization/sh_7ad0c438-beda-4779-a885-0dc325a755c1/5a125858-0e0c-4099-996f-db61cbd62f8e.jpeg
- name: fw.variants[0].unitPrice
type: number
description: Price of product
value: 5
- name: fw.variants[0].currencyCode
type: string
description: Currency code
value: USD
- name: fw.variants[0].quantity
type: string
description: Quantity of product in order
value: 2
- name: fw.variants[0].attributes.description
type: string
description: Product description
value: White, S
- name: fw.variants[0].attributes.color
type: string
description: Color of product
value: White
- name: fw.variants[0].attributes.colorSwatch
type: string
description: Hex color of product
value: \#FFFFFF
- name: fw.variants[0].attributes.size
type: string
description: Size of product
value: S
- name: fw.variants[0].stock
type: string
description: Current stock of product
value: 0
- name: fw.source
type: string
description: Type of FourthWall webhook
value: ORDER
- name: fw.update
type: string
description: What updated on the order
value: STATUS
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
title: Reward Redemption Updated
description: Trigger for a Twitch Reward Redemption when it's marked as complete or rejected in Twitch Reward Queue.
version: 0.2.0
twitchService: PubSub
variables:
- name: redemptionId
type: string
description: The unique identifier for the reward redemption
value: 4d9f236b-7486-481a-89af-1d03676d5275
- name: rewardId
type: string
description: The unique identifier for the reward
value: 44e86f71-8ace-4739-a123-3ff095489343
- name: rewardName
type: string
description: The name of the reward
value: My Reward
- name: rewardPrompt
type: string
description: The description of the reward
value: My Reward description
- name: rewardCost
type: number
description: The cost of the reward
value: 200
- name: rewardStatus
type: string
description: Whether the reward was marked as complete/rejected.
value: `fulfilled` or `canceled`
- name: rawInputEscaped
type: string
description: The text entered by the user (if enabled)
value: https://streamer\.bot/Test Escaped Text \$\$\$
commonVariables:
- TwitchUser
---

## Parameters
::field-group
::field{name=Reward type=Select required}
Select a configured Twitch reward
- Select `Any` to trigger on **any reward**

::tip{color=amber}
You can quickly register a new reward by clicking the `Create Reward` button!
::
::
::
9 changes: 9 additions & 0 deletions streamerbot/3.api/3.csharp/_classes/GlobalVariableValue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
```cs
public class GlobalVariableValue
{
public string VariableName { get; set; }
public object Value { get; set; }

public DateTime LastWrite { get; set; }
}
```
17 changes: 17 additions & 0 deletions streamerbot/3.api/3.csharp/_classes/QuoteData.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
```cs
public class QuoteData
{
public DateTime Timestamp { get; set; }

public int Id { get; set; }

public string UserId { get; set; }
public string User { get; set; }
public string Platform { get; set; }

public string GameId { get; set; }
public string GameName { get; set; }

public string Quote { get; set; }
}
```
Loading

0 comments on commit db56354

Please sign in to comment.