-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
122 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
:orphan: | ||
|
||
Default EJS Template for Event List Overlay | ||
=========================================== | ||
|
||
:: | ||
|
||
events = Array<{ | ||
type: string; // The type of event 'follow' | 'subscription' | 'giftsubscription' | 'donation' | 'bits' | 'raid'; | ||
platform: string; // The platform the event happened on 'discord' | 'facebook' | 'slack' | 'trovo' | 'twitch' | 'youtube'; | ||
data: { | ||
from: string; // The username of the viewer who triggered the event | ||
to: string; // The name of the channel the event happened | ||
amount?: number; // The amount of donations or bits (only available if type is 'bits' or 'donations' | ||
unit?: string; // The unit of donations or bits (only available if type is 'bits' or 'donations' | ||
viewers?: number; // The amount of viewers (only available if type is 'raid') | ||
plan?: string; // The subscription plan (only available if type is 'subscription') | ||
} | ||
}> | ||
|
||
:: | ||
|
||
<div className="column scroll hide-scrollbar"> | ||
<% let i = 0; for (const event of events) { i++; %> | ||
<div className="message"> | ||
<span className="text"> | ||
<img className="platform-icon" src="/images/<%= event.platform %>-logo-<%= event.platform === 'youtube' ? 'play-' : '' %>drk.png" /> | ||
<% if (event.type === 'bits' || event.type === 'donation') { %> | ||
<%= event.data.from %> donated <% data.amount %><%= data.unit ? ` ${data.unit}` : '' %> to <%= event.data.to %> | ||
<% } %> | ||
<% if (event.type === 'follow') { %> | ||
<%= event.data.from %> donated <% data.amount %>${data.unit ? ` ${data.unit}` : ''} to <%= event.data.to %> | ||
<% } %> | ||
<%= event.data.from %> | ||
<%= event.data.to %> | ||
<%= event.data.amount %> | ||
<%= event.data.unit %> | ||
<%= event.data.viewers %> | ||
<%= event.data.plan %> | ||
</span> | ||
</div> | ||
<% } %> | ||
</div> | ||
|
||
switch (type) { | ||
case CONNECTION_EVENTS.BITS: | ||
case CONNECTION_EVENTS.DONATION: | ||
return `donated ${data.amount}${data.unit ? ` ${data.unit}` : ''} to`; | ||
case CONNECTION_EVENTS.FOLLOW: | ||
return platform === PLATFORMS.FACEBOOK | ||
? 'liked' | ||
: platform === PLATFORMS.YOUTUBE | ||
? 'subscribed to' | ||
: 'followed'; | ||
case CONNECTION_EVENTS.HOST: | ||
return 'hosted'; | ||
case CONNECTION_EVENTS.RAID: | ||
return 'raided'; | ||
case CONNECTION_EVENTS.SUBSCRIPTION: | ||
return platform === PLATFORMS.YOUTUBE ? 'sponsored' : 'subscribed to'; | ||
} | ||
|
||
switch (type) { | ||
case CONNECTION_EVENTS.BITS: | ||
case CONNECTION_EVENTS.DONATION: | ||
case CONNECTION_EVENTS.HOST: | ||
case CONNECTION_EVENTS.RAID: | ||
return data.to; | ||
case CONNECTION_EVENTS.FOLLOW: | ||
return platform === PLATFORMS.FACEBOOK ? `${data.to}'s video` : data.to; | ||
case CONNECTION_EVENTS.SUBSCRIPTION: | ||
return `${data.to}${data.plan ? `with plan ${data.plan}` : ''}`; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Botisimo Sponsorship Program | ||
============================ | ||
|
||
Are you ready to earn real rewards for doing what you love? | ||
|
||
Are you ready to take that awesome community you have built and earn cash from their participation? | ||
|
||
Are you ready to tell that one family member at Thanksgiving that you CAN MAKE MONEY STREAMING VIDEO GAMES?!? I..uh...urm....anyway. | ||
|
||
**Earn Points and Get Paid!** | ||
|
||
💲 Earn 1 point for every 1,000 impressions made in your channel. | ||
💰 Earn 1 point for every 100 unique clicks captured from your channel. | ||
💸 We will convert your points to cash every month. 1 point = $1 USD. | ||
|
||
The **Botisimo Sponsorship Program** is a customer opt-in sponsorship and rewards program that matches participants to a sponsor within our vetted sponsor network. Eligible participants will earn points for impressions and clicks. Those points earn you a cash back reward. Botisimo will send a sponsored message to your chat every 15 minutes. A graphic will also be displayed in the Sponsor Overlay every 15 minutes. | ||
|
||
**Eligible Participants:** | ||
|
||
🎟️ Must be a current Botisimo Member | ||
⌛ Stream at least 15 hours per month using Botisimo | ||
👀 Have at least 10 average concurrent viewers | ||
📹 Must enable VOD recordings on streaming platform(s) | ||
🖥️ Must display the Sponsor Overlay in your stream | ||
📋 Must agree to the Botisimo Sponsorship Program Terms & Conditions | ||
|
||
Ready to get started? Let's go! | ||
|
||
`ACTIVATE YOUR SPONSORSHIP <https://botisimo.com/account/sponsorship>`_ | ||
|
||
If you have questions, reach out to us - support@botisimo.com |