Dragory
5772e27cda
refactor: convert /backend to ESM
2024-04-09 20:57:18 +03:00
Dragory
6840fb4646
fix: clamp counter values in config
2024-01-27 14:57:57 +02:00
Almeida
cf55eb161f
fix formatting and globs in package.json ( #440 )
2023-12-27 18:30:08 +00:00
Tiago R
48d5696552
add missing "where"
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-22 20:21:22 +00:00
Dragory
761ff27771
feat: upgrade to TypeORM 0.3
2023-07-01 12:17:45 +00:00
Dragory
801cd2630b
fix: fix crash when decay period is 0
2022-12-15 00:38:24 +02:00
Dragory
ac79eb09f5
Reformat all files with Prettier
2021-09-11 19:06:51 +03:00
Dark
5efdf5ce95
Formatting and initial ButtonRoles DB work
2021-06-08 02:23:30 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs
2021-06-06 23:51:32 +02:00
Dragory
7fc86d34e9
Tweak counter reset logic
2021-05-03 20:42:43 +03:00
Dragory
647c2eb85a
Fix !counters reset_all not also removing triggers
2021-05-03 20:41:39 +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
Dragory
c26ab2977f
Attempt another fix for counter decay deadlocks
2021-04-14 00:19:39 +03:00
Dragory
c03e7240b4
Attempt to fix occasional deadlock in counter decays
2021-04-13 23:35:19 +03:00
Dragory
ab8ea2e7e5
counters: move triggers to counters plugin; architectural tweaks
2021-04-02 16:36:45 +03:00
Dragory
0c27795fd9
Fix trigger checks matching across different counters
2021-02-14 17:12:47 +02:00
Dragory
91fde47c97
counters: add !counter view command
2021-02-13 22:08:38 +02:00
Dragory
e549303b1d
counters: fix numbers over 9 not being accepted in conditions
2021-02-13 21:31:02 +02:00
Dragory
a93db7f417
counters: make decay accurate over time, even if it's sometimes rounded; don't apply decay of 0
2021-02-13 17:43:23 +02:00
Dragory
c3407e2d5d
Counters v0.9
...
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00