Commit graph

21 commits

Author SHA1 Message Date
Dragory
b60a4ce8fc
Use longer lock timeout in !counters reset_all 2021-05-03 20:52:42 +03:00
Dragory
578542e54e
Show loading message for !counters reset_all 2021-05-03 20:51:16 +03:00
Dragory
3072f29044
Fix alias precedence for !counters list 2021-05-03 20:47:03 +03:00
Dragory
724abc89b9
Tweak counter reset logic (v2) 2021-05-03 20:45:33 +03:00
Dragory
647c2eb85a
Fix !counters reset_all not also removing triggers 2021-05-03 20:41:39 +03:00
Dragory
9bae5eaea7
Fix error when adding counter without triggers 2021-05-03 19:33:59 +03:00
Dragory
a568e86d78
Add commands to list and reset counters 2021-05-03 19:33:30 +03:00
Dragory
31d7748bf4
Fix changeCounterValue() not considering initial value
If a counter was initialized via the INSERT in changeCounterValue(),
its value would be set to the change value rather than the specified
initial value. For example, a counter with an initial value of 1000
and a change of 5 would get initialized to 5, not 1005.
2021-05-03 18:37:09 +03:00
Usoka
6b9131c353
Fix 0 not being accepted in SetCounterCmd (#186) 2021-04-28 22:03:26 +03:00
Almeida
4448659dc0
fix(SetCounterCmd): misleading messages (#188) 2021-04-28 21:59:56 +03:00
Dragory
ad8aab3937
Fix error when using an unknown counter from Automod 2021-04-11 13:44:48 +03:00
Dragory
ab51231fef
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-02 18:00:27 +03:00
Dragory
4147298120
Add counter documentation/examples. Tweak counter triggers/actions in automod.
Rename change_counter automod action to add_to_counter,
add set_counter action, rename counter trigger to counter_trigger.
2021-04-02 17:44:43 +03:00
Nils
c5d68650a3
Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
Dragory
ab8ea2e7e5
counters: move triggers to counters plugin; architectural tweaks 2021-04-02 16:36:45 +03:00
Dragory
93912541b4
automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Dragory
0f14f75020
counters: add '!counters add' and '!counters set' commands 2021-02-13 22:43:47 +02:00
Dragory
a18b093419
counters: fix user parsing for !counter view, fix other signature parsing weirdnesses 2021-02-13 22:43:13 +02:00
Dragory
91fde47c97
counters: add !counter view command 2021-02-13 22:08:38 +02:00
Dragory
352a8066e5
counters: apply decays every 5min 2021-02-13 17:44:24 +02:00
Dragory
c3407e2d5d
Counters v0.9
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00