ManuCanedo / kahlua-2021

The interface between Twitch chat and Lua.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Satisfy dependencies.
  2. Clone and 'make'. If necessary, modify the include paths for lua5.1 in the makefile.
  3. Modify the '_oauth' (twitch token) and '_botname' (account name) variables in config.lua. Point the bot to the desired channel modifying '_channel'.
  4. 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





Science-fiction Galaxy - AI generated (vqgan+clip)

About

The interface between Twitch chat and Lua.

License:Apache License 2.0


Languages

Language:C++ 67.6%Language:Lua 27.2%Language:Makefile 4.4%Language:C 0.8%