pacslim / EmoSpark-Twitch

Bot for connecting your Twitch to MetaSoul

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EmoSpark Twitch Bot

code style: black mypy coverage

Developed by Adam Birds at ADB Web Designs.

Source

The source code can be found here.

Requirements

Python 3 (Version 3.6 or later).

Get one EmoSpark.

Installation

This has only been tested on Linux, so preferably use Linux or WSL 2 if on Windows.

Navigate to where you will store the bot files, then run:

git clone git@github.com:emoshape/EmoSpark-Twitch.git

Then run:

tools/setup/prep-prod-environment

Then run:

cp example-config.yaml config.yaml

You will then need to edit config.yaml to your needs. You shouldn't delete any of the keys.

The ACCESS_TOKEN key can be generated using this generator.

The name key under ACCOUNTS should tbe the channel name you want the bot to listen to.

The metasoul_api_key key under ACCOUNTS should be your secret from your EmoSpark account. The metasoul_epuid key under ACCOUNTS should be your EPUID from your EmoSpark account.

Once you have this running the only thing then left is to setup your bot to run as a service if you wish, which you can do by amending the ./metasoul-twitch-bot.service file with your working directory and copying it using the following command:

cp ./metasoul-twitch-bot.service /lib/systemd/system/

Then run:

systemctl daemon-reload

Then run:

systemctl start metasoul-twitch-bot

And then to ensure it starts when your server does run:

systemctl enable metasoul-twitch-bot

License

This project is released under the MIT License.

Discrod

To Install MetaSoul bot for Discrod Click Here.

About

Bot for connecting your Twitch to MetaSoul

License:MIT License


Languages

Language:Python 83.8%Language:Shell 16.2%