A useless twitch chatbot
Actually, ZBot allow you to add few functionalities to your Twitch chat.
- Auto update the BTC value
- Convert uBTC -> Euro/Dollar/Livre and vice versa
- Manage timeout apply to commands
- Totally configurable ! Yay !
Each streamer can do whatever they want with ZBot, it's totaly free and open source ! Please read carefully the guideline below.
- A Twitch Account (Nooooo really ??)
- Your personnal computer or a server
- 5 minutes of your time
- Download sources here
- Unzip in a fresh folder
- Open params.json and fill it like this:
- token: Token of the Twitch Account (find it here)
- username: Name of the Twitch account used above. Lowercase only.
- channels: List of the channel, whose ZBot will connect after starting. Example : ["DarkWador", "Choubi", "JohnSnow"]
- currency: This is the currency whose ZBot will use, choose between "EUR", "USD" ou "GBP"
- refreshEvery: Refresh delay for the BTC rate (in second, minimum 60)
- convertTimeout: Minimal duration between two conversion command (second)
- Finally to start ZBot execute
ZBot-V2-{your-version}.exe
When these steps are done ZBot is ready to work ! You don't need to configure it again. Next time just start it by executing the exe file. Please do not close the command line, or shutdown your computer, otherwise ZBot will stop working. If the command line close instantly, please configure you params.json as explain above.
There is multiple ways to use the conversion command:
- !c [value] [currency]
- !conv [value] [currency]
- !convert [value] [currency]
[value] is the value to convert. [currency] is the currency for you conversion. For example you want to convert in uBTC to Euro, so you will write "€" or "eur" or just "e". Of course you can convert from the choosen currency (in you params.json) to uBTC, you don't have to write any currency. uBTC is the default currency.
As you can see, ZBot is reliable, there is multiple ways to write your conversion command. There is few examples:
!convert 100 eur
100 € -> 15101 μbtc
!conv 100
100 μbtc -> 1 €
!conv 100 e
100 € -> 15101 μbtc
!conv 100 usd
100 € -> 15101 μbtc
!c 100 $
100 $ -> 13953 μbtc
This command shows the actual value of the bitcoin.
- !value
Here is example:
!value
1 BTC -> 8211 €
Thank's to for the markdown editor : StackEdit.