Skip to content

This program will listen to donations and will, according to configuration, add a percentage of the donation into the community chest of your channel

License

Notifications You must be signed in to change notification settings

OfficialHisha/DliveAutoChest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DliveAutoChest

This program will listen to donations and will, according to configuration, add a percentage of the donation into the community chest of your channel

You can download the latest version here

Any comments and/or ideas are appreciated and you are welcome to open a ticket with issues and ideas here

Configuration

The configuration file contains various options that can be modified to serve the specific needs of a user.

Default configuration

{
  "displayName": "",
  "authToken": "",
  "percentage": 10
}
  • The displayName property should contain the Dlive channel name of the channel to listen for donation events.
  • The authToken property should contain the user token of the owner of the channel defined by the displayName property.
  • The percentage property decides the percentage of donations that will be added back to the community chest.

Advanced configuration

In addition to the default configuration, more advanced options are available. These are enabled by replacing the percentage property with a percentages property and adjusting the individual percentages for the events you want. If you want to disable an event, either leave out the event from the percentages property or set the value to 0.

An example of an advanced configuration is like so,

{
  "displayName": "",
  "authToken": "",
  "percentages": {
    "subscription": 10,
    "ice_cream": 10,
    "diamond": 10,
    "ninjaghini": 10,
    "ninjet": 10
  }
}

NOTE: The percentage property can be applied to the advanced configuration as well, if it is present it will precede the advanced configuration and the percentages property will be ignored.

About

This program will listen to donations and will, according to configuration, add a percentage of the donation into the community chest of your channel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages