Skip to content

Commit

Permalink
add sponsorship program page
Browse files Browse the repository at this point in the history
  • Loading branch information
otothea committed Aug 21, 2021
1 parent b20948d commit 13246bf
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/directives/chain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ $[chain]

Break response into multiple, chained responses.

- `Pro members <https://botisimo.com/membership>`_ are limited to chaining 5 responses
- `Business members <https://botisimo.com/membership>`_ are limited to chaining 10 responses
- `Pro members <https://botisimo.com/pricing>`_ are limited to chaining 5 responses
- `Business members <https://botisimo.com/pricing>`_ are limited to chaining 10 responses

Usage:
$[chain]
Expand Down
73 changes: 73 additions & 0 deletions docs/ejs_templates/eventlist.rst
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}` : ''}`;
}
19 changes: 16 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ Membership
Using Botisimo requires a monthly or annual membership.

- **Pro** ($10/mo or $60/yr)
- **Business** ($50/mo)
- **Team** (starting at $150/mo)
- **Plus** ($50/mo)
- **Premium** (starting at $600/mo)

`View Membership Details → <https://botisimo.com/membership>`_
`View Membership Details → <https://botisimo.com/pricing>`_

Moderation
^^^^^^^^^^
Expand Down Expand Up @@ -139,6 +138,20 @@ Response directives are used to make dynamic actions for your `custom commands <

directives/index

Botisimo Sponsorship Program
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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.

:doc:`Learn About Sponsorship → <sponsorship/index>`

.. toctree::
:maxdepth: 1
:name: sec-sponsorship
:hidden:

sponsorship/index

Extras
^^^^^^

Expand Down
31 changes: 31 additions & 0 deletions docs/sponsorship/index.rst
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

0 comments on commit 13246bf

Please sign in to comment.