Commit graph

214 commits

Author SHA1 Message Date
Derek
a91b86b3df Check permission for !help 2022-01-22 18:48:31 -07:00
Derek
49d1f37095 Configure ws server bind and port by cli 2022-01-22 18:04:47 -07:00
Derek
fdd004ed49 Add append mode to write builtin 2022-01-22 18:04:26 -07:00
Derek
211f9bc518 Add write builtin 2022-01-22 17:52:19 -07:00
Derek
e24c656363 Fix commands deleting new version after re-init 2022-01-22 17:52:03 -07:00
Derek Schmidt
616e6f8cbc Add support for arbitrary prop checks in trigger 2022-01-22 13:23:52 -07:00
Derek Schmidt
44fec51405 Ensure eventsub only subscribes if neccesary (persistant client id) 2022-01-22 13:23:20 -07:00
Derek
da12698e0f Import control event (only used in triggers, so no natural imports) 2022-01-22 12:28:11 -07:00
Derek
34fccbde54 Fix user presense bug 2022-01-22 12:24:31 -07:00
Derek
ad93290a88 Add reply support (and trigger reply matching) 2022-01-22 12:22:52 -07:00
Derek Schmidt
d63aeb7b50 Add channel points and follow events~! 2022-01-22 12:18:00 -07:00
Derek Schmidt
7d29963cec Improve logging, add wip twitch EventSub source 2022-01-17 07:04:28 -07:00
Derek Schmidt
cd47bd9702 Reload on config file change 2022-01-10 02:53:17 -07:00
Derek
1369fe0ff6 Add unjail command 2022-01-06 02:19:27 -07:00
Derek
742659d04c Add bean jail 2022-01-06 02:09:08 -07:00
Derek
9b6594e9cb Fix username in release message 2022-01-06 02:08:57 -07:00
Derek
f8bea02e4f Fix level requirements in comamnd class 2022-01-06 02:08:18 -07:00
Derek
3d0cab1d8f Log twitch IRC messages as debug 2022-01-06 01:37:16 -07:00
Derek
ad83cb7855 Add jail plugin - owoify your fweinds 2022-01-06 01:36:27 -07:00
Derek
e566956337 Handle strange system messages from the irc 2022-01-06 00:23:57 -07:00
Derek
1efdf1f688 Fix (maybe) occasional manager connection error that i dont understand 2022-01-06 00:23:21 -07:00
Derek
4d97e413af Improve error handling in main process 2022-01-06 00:22:37 -07:00
Derek
e0b91f553e Allow peristant phrase count 2022-01-06 00:22:17 -07:00
Derek Schmidt
a1f260dc14 Even MORE logging improvements - colors, line numbers, and time! 2021-12-29 03:33:21 -07:00
Derek Schmidt
65d710fd68 Improve plugin error handling
Actually target the plugin that caused the error, rather than the first 
caller
2021-12-29 02:23:44 -07:00
Derek Schmidt
1ae0a60258 Fix Command plugin 2021-12-29 02:11:58 -07:00
Derek Schmidt
ea212ad174 Minor cleanup 2021-12-29 01:59:11 -07:00
Derek Schmidt
60ac419ed0 Enable calling shoutout via trigger 2021-12-29 01:55:59 -07:00
Derek Schmidt
b127937f6d Normalize arg handling across command and trigger
Changes context to be a dict, allows passing of even more data
2021-12-29 01:55:41 -07:00
Derek Schmidt
1874b37694 Shoutout plugin~ 2021-12-29 00:40:03 -07:00
Derek Schmidt
352069f526 Expose API on chat processes 2021-12-29 00:39:43 -07:00
Derek Schmidt
99f232aa4b Command refactor: better communication, enable external command usage 2021-12-29 00:38:55 -07:00
Derek Schmidt
eab7771d77 Minor plugin refactor - call_chat() -> chats[via].send(), msg replies 2021-12-29 00:37:52 -07:00
Derek Schmidt
ae41ac7f4f Rename sendevent to mkevent, add some easier to use modes 2021-12-27 07:21:02 -07:00
Derek Schmidt
1fe6703965 Enable better event creation through json
Adds a hydrate (aka unserialize) function for events, and sets the id 
param as kw_only so that it can be defined on hydrate.
Additionally, WebsocketServerProcess no longer attempts to import the 
event class, but rather just recursively searches all subclasses of 
Event
2021-12-27 07:09:25 -07:00
Derek Schmidt
7dcf0c359c Add missing logger setup in reply 2021-12-27 06:05:47 -07:00
Derek Schmidt
1f04c95284 *Actually* fix ws bug 2021-12-27 05:54:45 -07:00
Derek
657d2413d6 Fix typo 2021-12-24 19:01:01 -07:00
Derek Schmidt
196001a351 (maybe) fix ws bug 2021-12-24 17:29:43 -07:00
Derek Schmidt
2ee812eb08 Accept external events, add CLI to make them 2021-12-24 17:27:36 -07:00
Derek Schmidt
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