No description
Find a file
2024-04-14 15:46:23 +02:00
.dockerignore build(docker): setup Dockerfile, docker-compose and .env 2024-04-14 14:36:29 +02:00
.env.example build(docker): setup Dockerfile, docker-compose and .env 2024-04-14 14:36:29 +02:00
.gitignore build(go): update gokord 2024-04-14 15:33:51 +02:00
docker-compose.yml build(docker): setup Dockerfile, docker-compose and .env 2024-04-14 14:36:29 +02:00
Dockerfile build(docker): setup Dockerfile, docker-compose and .env 2024-04-14 14:36:29 +02:00
go.mod build(go): update gokord 2024-04-14 15:33:51 +02:00
go.sum build(go): update gokord 2024-04-14 15:33:51 +02:00
LICENSE Initial commit 2024-04-14 14:04:03 +02:00
main.go build(go): upgrade gokord to v0.1.2 2024-04-14 14:50:28 +02:00
README.md docs(info): simplify some functions in readme 2024-04-14 15:46:23 +02:00

Les Copaings Bot

Bot for the private server Discord "Les Copaings"

Features

  • Levels & XP
  • Roles management
  • Purge command

XP

Functions:

  • xp-message(x;y) = 0.025 x^{1.25}y^{0.5}+1 where x is the length of the message and y is the diversity of the message (number of different rune)
  • xp-vocal(x)=0.01 x^{1.3}+1 where x is the time spent in vocal (in second)
  • level(x)=0.2 x^{0.5} where x is the xp
  • level^{-1}(x)=(5x)^2 where x is the level
  • lose(x,y)= x^2\cdot 10^{-2+\ln(x/85)}\cdot\lfloor y/100 \rfloor where x is the inactivity time (hour) and y is the xp

Technologies

  • Go 1.22
  • anhgelus/gokord