Commit graph

52 commits

Author SHA1 Message Date
f8fd981793
fix(command): bad display for disabled chans in config show 2024-04-16 16:44:02 +02:00
6c2436093b
fix(command): reset-user not working and can reset bot 2024-04-16 16:10:08 +02:00
ac73839583
fix(command): nil pointer reference on /top 2024-04-16 16:05:55 +02:00
3bd8d28a97
feat(bot): better status 2024-04-16 16:03:36 +02:00
fe789ad072
feat(command): reset and reset-user 2024-04-16 15:58:20 +02:00
6b595b8b11
Merge pull request #1 from anhgelus/feat/xp-reducer
[Feat] Add XP reducer
2024-04-16 15:46:52 +02:00
ff711c918d
feat(xp): max xp per message 2024-04-16 15:46:26 +02:00
b4e72dcae1
docs(debug): better debug log 2024-04-16 15:44:02 +02:00
7fe68106be
feat(reducer): periodic reducer updating xp 2024-04-16 15:24:25 +02:00
ef39c156f9
feat(reducer): role update on new level 2024-04-16 15:23:15 +02:00
c3dc81bd29
fix(reducer): sql error integer > int64max 2024-04-16 15:15:30 +02:00
d673c055d2
fix(command): (again) bad xp shown for /rank in prochain niveau 2024-04-15 19:46:25 +02:00
5655170779
fix(xp): already removed never reset 2024-04-15 19:42:32 +02:00
76745af0e8
fix(xp): strange comportment with -= 2024-04-15 19:40:42 +02:00
e78c8d8c42
fix(command): /rank prochain niveau not working 2024-04-15 19:30:02 +02:00
9f9c27f422
feat(debug): adapt xp functions while debug is enabled 2024-04-15 19:15:37 +02:00
84bf4caed2
feat(xp): add +1 in lose function xp part 2024-04-15 19:10:21 +02:00
0a6ecf6af7
feat(xp): implements xp reducer 2024-04-15 19:06:33 +02:00
9de1f3f90b
feat(xp): xp update without reseting last event 2024-04-15 18:59:10 +02:00
f00941a17a
feat(xp): storage of already removed xp 2024-04-15 18:56:21 +02:00
2aaeb2115b
feat(xp): basic reducer 2024-04-15 18:47:52 +02:00
c1e4653a5c
feat(copaing): time between last event 2024-04-15 18:41:30 +02:00
75df974f6f
feat(command): top 2024-04-15 18:30:58 +02:00
7d4e050c3f
feat(event): remove copaing on leave 2024-04-15 18:17:12 +02:00
3eab56e368
feat(xp): disable channels can be a vocal 2024-04-15 17:03:51 +02:00
357466a92e
feat(xp): send new level message in fallback channel for voice event 2024-04-15 16:59:05 +02:00
2b285f4523
feat(config): fallback channel 2024-04-15 16:56:01 +02:00
a8c0a395ac
feat(xp): disable xp in disabled channels 2024-04-15 16:48:16 +02:00
f97df035c3
feat(config): disable channel for xp 2024-04-15 16:44:46 +02:00
5451dd0e81
fix(config): edit does not work 2024-04-15 16:21:25 +02:00
fc151a9cee
fix(config): a role can be present twice 2024-04-15 16:17:31 +02:00
bde93e6b80
fix(config): not deleting role 2024-04-15 16:14:21 +02:00
9e6a5ce1d3
feat(level): update roles on new level 2024-04-15 16:12:19 +02:00
beb0ea0ca4
feat(config): base of guild config 2024-04-15 14:42:08 +02:00
48ca185105
perf(redis): use the same client in all xp goroutines 2024-04-15 11:52:21 +02:00
dcc260c4b0
perf(xp): use new slices.Contains in calcDiversity 2024-04-15 11:43:09 +02:00
1a36ecd053
feat(xp): gain from vocal 2024-04-14 21:44:11 +02:00
3e06848f72
feat(xp): rank command 2024-04-14 17:41:29 +02:00
1078cf3deb
feat(xp): xp and level gain 2024-04-14 17:11:31 +02:00
1f68e69899
feat(xp): functions 2024-04-14 15:57:14 +02:00
55b25ef62d
docs(info): simplify some functions in readme 2024-04-14 15:46:23 +02:00
80a7a90208
docs(info): edit lose function in readme 2024-04-14 15:44:56 +02:00
fb1685a98c
docs(info): rename functions in readme 2024-04-14 15:43:30 +02:00
eb9ce9660b
docs(info): add all mathematical functions in readme 2024-04-14 15:42:50 +02:00
0ab96fceaa
build(go): update gokord 2024-04-14 15:33:51 +02:00
e6520c6007
build(go): upgrade gokord to v0.1.2 2024-04-14 14:50:28 +02:00
f2292809d0
build(go): upgrade gokord to v0.1.1 2024-04-14 14:41:38 +02:00
aaa9e0e075
feat(bot): setup config and status 2024-04-14 14:37:02 +02:00
8ffd8a7f0f
build(docker): setup Dockerfile, docker-compose and .env 2024-04-14 14:36:29 +02:00
a30bda9de3
build(go): install gokord and basic bot start 2024-04-14 14:15:55 +02:00