MA
ManuCanedo/kahlua-2021
The interface between Twitch chat and Lua.
Kahlua Bot
The interface between Twitch chat and Lua
Kahlua is a lightweight local Twitch bot written in C++. The behaviour of commands is defined in a lua script. This allows for easy expansion and customization whithout the need to recompile. Commands can be implemented during live stream as soon as Twitch chat requests them.
Dependencies
- ASIO STANDALONE
sudo apt-get install -y libasio-dev - LUA 5.1
sudo apt-get install -y lua5.1
Getting Started
- Satisfy dependencies.
- Clone and 'make'.
If necessary, modify the include paths for lua5.1 in the makefile. - Modify the '_oauth' (twitch token) and '_botname' (account name) variables in config.lua.
Point the bot to the desired channel modifying '_channel'. - Implement commands in commands.lua
Development Checklist
- Net framework: client and connection interfaces (ASIO).
- Implemented initial bot that receives and displays Twitch Chat.
- Embedding Lua: configuration params obtained from 'config.lua' file.
- Integrated FLITE text to speech generator.
- Implemented customs params that trigger lua scripts.
Stay in touch
- Linkedin - https://www.linkedin.com/in/manuel-tabares/
