les-copaings-bot/README.md

653 B

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}\sqrt{y}+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 \sqrt{x} 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/500 \rfloor where x is the inactivity time (hour) and y is the xp

Technologies

  • Go 1.22
  • anhgelus/gokord