Commit Graph

176 Commits

Author SHA1 Message Date
Derek 196001a351 (maybe) fix ws bug 2021-12-24 17:29:43 -07:00
Derek 2ee812eb08 Accept external events, add CLI to make them 2021-12-24 17:27:36 -07:00
Derek e143ecc2a9 Add subcommand-capible cli 2021-12-24 17:26:47 -07:00
Derek b34dbc4605 Automatically target "all" when non context available 2021-12-19 01:08:05 -07:00
Derek c94e0b1ce1 Add cue builtin 2021-12-19 01:07:45 -07:00
Derek eb622e20a4 Add options to display reply messages (ie send to websocket) 2021-12-19 00:12:03 -07:00
Derek 300789ecda Add builting command builder plugin 2021-12-19 00:11:42 -07:00
Derek 49507b8690 Change name from an option to encoded in the module selector 2021-12-19 00:11:21 -07:00
Derek 7944d6cba0 Allow multiple of username or sources in Trigger
Requires a odd (list) tag in kdl but okay
2021-12-19 00:10:45 -07:00
Derek bec624aba3 Send superclasses in websocket type 2021-12-19 00:09:52 -07:00
Derek d660a8be35 Enable sending new events from inside plugins 2021-12-19 00:09:08 -07:00
Derek 9dbe24690d Fix phrasecounter for kdl config 2021-12-19 00:08:00 -07:00
Derek b207394ffd Change via to 'system' for system messages 2021-12-19 00:03:54 -07:00
Derek 005c0d05c6 Add secrets.kdl to gitignore (for my own sanity) 2021-12-19 00:03:30 -07:00
Derek 31cf02972c More readme! 2021-12-17 07:26:24 -07:00
Derek 0deb155af8 Improve error logging just a tad 2021-12-17 07:26:16 -07:00
Derek 047e31228c Add formatting of event to print, refactor to "reply" 2021-12-17 07:26:05 -07:00
Derek 0abe870437 Fix trigger closures 2021-12-17 07:21:50 -07:00
Derek a32f240f6d Plugin + config overhaul
Now configured using KDL. This enables a whole new level of plugin 
composibility, and as such the plugins have been changed to allow it!
2021-12-17 06:01:25 -07:00
Derek f9425f08f1 Quiet portaudio spam 2021-12-14 23:40:51 -07:00
Derek 9ddc145315 Fix PyAudio in Python 3.10 2021-12-14 23:40:51 -07:00
Derek 34c3471b55 Event update for python 3.10
3.10 is here!! kw_only dataclasses!!! wooo!!!
Re-impliment control messages as events, renaming callbacks to fit them
in: on_bus_event (chat messages a plugin is watching) and
on_control_event (an event directed to the module)

Also adds a SysMessage with automatically set properties for internal
messages
2021-12-14 23:39:51 -07:00
Derek bde55d5870 Add some basic logging capibilities 2021-12-14 19:11:40 -07:00
Derek 9289ec4006 Cleanup event base definitions 2021-12-14 19:11:40 -07:00
Derek 3256b145f9 Fix using multiple chat providers / event.via 2021-12-06 02:41:21 -07:00
Derek dc3760f83d Initial commit 2021-10-02 14:22:09 -07:00