Commit graph

64 commits

Author SHA1 Message Date
4a15a7bf35
[core] Utilize clean shutdown in go-irc v4
in order to maybe less often throw errors when re-using closed connections

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-12 10:49:35 +02:00
bcc5b4eba7
[core] Update go-irc to v4.0.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-11 19:51:38 +02:00
0b8196b127
[core] Add support for hype_chat event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-07-21 23:25:20 +02:00
737338dc72
[core] Remove "host" related functionality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-04-08 02:18:15 +02:00
0a937a65d0
prepare release v3.0.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-11-02 22:54:52 +01:00
064c7432ed
[core] Extend API and replace deprecated chat commands (#34) 2022-10-25 18:47:30 +02:00
1409a4bd34
[lint] Fix v2 import path not carrying version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-23 15:06:45 +02:00
a7533cbd8b
[core] Move storage to SQLite database (#30)
fixes #29
2022-09-10 13:39:07 +02:00
c0545d1d87
[core] Make number of subscribed months available for subgift
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-07-31 14:06:43 +02:00
4818a3105f
Expose user_id in events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-17 22:13:47 +02:00
91bb3cf0fe
[core] Add multi_month parameter parsing for subs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-05-20 23:35:52 +02:00
b5932ff534
[core] add total_gifted field for gifts, use numeric values for some fields
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-19 13:54:26 +02:00
5fe727d7dc
[core] Lint: Move duplicate value extraction to central position
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-17 14:56:51 +02:00
585161930d
[core] Use empty resub message when none given
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-17 13:44:47 +02:00
f674735689
[core] Provide message in announcement, bits and resub events
for overlays to react on them

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-15 20:20:09 +02:00
91846e300f
[core] Add support for "annoumcement" event type
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-01 02:02:14 +02:00
ee92cbbb03
[core] Add origin_id to subgift / submysterygift events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-26 14:48:00 +01:00
08185ced3e
[core] Add delete event for deleted chat messages
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-11 20:10:19 +01:00
8cfd22c916
[core] Fix: Raid viewercount should be numeric, not string
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-10 00:22:18 +01:00
8a8347401e
[overlays] Add overlays server capability (#14) 2022-02-08 19:58:19 +01:00
437ef14fb0
[core] Implement dynamic token update and broadcaster permissions (#13) 2021-12-31 13:42:37 +01:00
b1a41ac70a
[core] Fix: PRIVMSG does not contain "login"-tag
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-23 15:06:45 +01:00
250a07f5b8
[core] log bits from chat message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-23 14:16:01 +01:00
11e55fc5cb
[core] Add status / health check API
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-12 00:23:06 +01:00
b1d5c37761
[core] Fix: Set channel for incoming host through jtv message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-25 23:55:26 +01:00
8247978151
[lint] Properly format inputs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-25 23:48:16 +01:00
e2c6f99f29
[core] Handle host announce messages from jtv user
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-25 23:48:11 +01:00
c6fa5a9df9
[core] Add giftpaidupgrade event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-19 19:55:20 +01:00
8ba6d2ef08
[core] BREAKING: Allow actors to set fields those after them (#11)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-15 21:14:40 +01:00
8107cd7c64
[core] Fix wording for timeouts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-10 23:28:23 +01:00
a1741fbf53
[core] Add ban, clearchat and timeout events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-10 23:23:57 +01:00
9eb6876305
[core] Prevent logging every PING message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-09 17:48:41 +01:00
b6e65a1f6d
[core] Add "bits" event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-10-17 13:17:28 +02:00
a91410d1ce
[core] Add username fields to events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-10-16 14:44:11 +02:00
d1386903da
[core] Add submysterygift event, add more event data to events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-10-16 14:06:25 +02:00
8e2f1f649a
[core] Remove unused subscribed_months field from subgifts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-10-09 14:25:40 +02:00
78c66214cd
[core] Log submysterygift
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-10-08 16:08:41 +02:00
0bec777df1
[core] Improve logs for USERNOTICE events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-10-07 13:29:54 +02:00
87df2040e4
[templating] Add botHasBadge function
to allow checking for moderation permissions in channels

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-29 18:23:29 +02:00
06ec111163
Fix: Nil pointer segfaults due to direct access to message object
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 23:26:39 +02:00
dbca96a138
Add Twitch events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 17:09:30 +02:00
e4d4c45e7a
Add registration for raw-message-handlers
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 15:01:10 +02:00
b47ffbfff7
Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
0dc19d8eed
Add method to send messages from within the bot without trigger
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-07 00:00:22 +02:00
b8737a4286
Automatically leave channel when removed from config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-14 23:43:37 +02:00
fbf1ae2f03
Fix: Do not try to log the function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-13 02:19:39 +02:00
c70ceedc7d
Fix: Do not try to log function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-11 18:02:08 +02:00
5a47332258
Add retries to Twitch API calls
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-02 13:21:13 +02:00
477f07c963
Add whisper event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-26 14:38:37 +02:00
e66eb2ce82
Add part event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-26 14:03:37 +02:00