Commit Graph

26 Commits

Author SHA1 Message Date
36f9133cd5
[core] Fix: Strip newlines from message templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-14 18:35:07 +01:00
8247978151
[lint] Properly format inputs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-25 23:48:16 +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
df9fe579ea
Fix: Use derivation function for template fields
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-03 00:13:28 +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
b47ffbfff7
Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
8a37343127
Fix: Set channel for more events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-28 13:31:37 +02:00
ede8a95ed4
Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
b6d59045d0
Add global variables to be used in templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 16:26:03 +02:00
dac0553bdf
Fix: Tests fail when config is nil as of field usage
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 01:22:07 +02:00
6a03840592
Fix: Do not extract fields from nil message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-06 15:27:24 +02:00
024980ee14
Extract template functions into registry
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-21 22:43:33 +02:00
0ae34112b6
Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
df9a23fec8
Fix: Do not copy reference but map content
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-21 14:43:26 +01:00
d434e5b623
Fix: Use of unexported method
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-21 14:02:44 +01:00
055290ae49
Add followDate function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-01-21 00:35:42 +01:00
206b682f39
Add toLower / toUpper functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-01-20 23:45:09 +01:00
d3a993cda5
Introduce channelCounter function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-26 02:01:13 +01:00
ab42decb1b
Add channel variable for templating
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-26 01:36:18 +01:00
11bd11081d
Simplify function names
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-25 19:39:44 +01:00
cad3f982cd
Simplify function definitions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-25 19:31:07 +01:00
223d5f8fbf
Sort functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-24 15:06:59 +01:00
5fc593e08b
Add template function to normalize username
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-24 14:13:26 +01:00
f18e9c1612
Allow fallback string for user not found
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-24 13:30:42 +01:00
b3defa44fd
Reorganize template functions, add recentGame
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-24 13:19:58 +01:00
da62d913c8
Initial version 2020-12-21 01:33:57 +01:00