3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 15:45:03 +00:00
Commit graph

10 commits

Author SHA1 Message Date
Dragory
e68fd03f43 Increase template cache size from 100 to 200 2019-05-04 10:48:35 +03:00
Miikka
f01fbafb44 templateFormatter: fix unknown values showing up as "false" 2019-04-17 09:43:27 +03:00
Dragory
d5f3a74bdb evaluateTemplateVariable: require property to be a direct/own property of 'values', not from its prototype 2019-04-13 04:11:24 +03:00
Dragory
c293c8c856 templateFormatter: add choose() as a shortcut for cases() with a preset index that picks from the cases randomly 2019-03-16 18:52:45 +02:00
Dragory
af073904a7 templateFormatter: add cases() template function; Tags: add set/get tag functions to store/retrieve variables within tags 2019-03-16 17:54:05 +02:00
Dragory
d54a2c468c templateFormatter: support negative numbers for numeric arguments; add more base functions 2019-03-16 17:28:43 +02:00
Dragory
f29f1ddb69 templateFormatter: return empty string for null/undefined variables; Tags: catch template syntax errors on tag creation; add mention() tag function 2019-03-16 16:59:01 +02:00
Dragory
dd31486054 templateFormatter: fix empty string args not getting counted as arguments; add concat base template function 2019-03-16 16:39:07 +02:00
Dragory
69bcf9619e Logs: add permission for whether a user is pinged in logs or not (mainly to not ping mods); templateFormatter: fix error when following a plain value variable with a function variable 2019-03-16 16:10:30 +02:00
Dragory
f8ae8a3003 Add templateFormatter; migrate from formatTemplateString to templateFormatter 2019-03-16 15:42:55 +02:00