No description
.dockerignore | ||
.env.example | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md |
Les Copaings Bot
Bot for the private server Discord "Les Copaings"
Features
- Levels & XP
- Roles management
- Purge command
XP
Functions:
xp-message(x;y) = \frac{0.025 x^{1.25}}{y^{-0.5}}+1
wherex
is the length of the message andy
is the diversity of the message (number of different rune)xp-vocal(x)=0.01 x^{1.3}+1
wherex
is the time spent in vocal (in second)level(x)=0.2 x^{0.5}
wherex
is the xplevel^{-1}(x)=(5x)^2
wherex
is the levellose(x,y)= 10^{-2+\ln(x/85)}x^2\cdot\lfloor y/100 \rfloor
wherex
is the inactivity time (hour) andy
is the xp
Technologies
- Go 1.22
- anhgelus/gokord