fix(db): wrong relation and bad where condition

This commit is contained in:
Anhgelus Morhtuuzh 2025-05-13 16:52:04 +02:00
parent 01bafe9bf1
commit 61c7bf4567
Signed by: anhgelus
GPG key ID: CAD341EFA92DDDE5
6 changed files with 26 additions and 19 deletions

View file

@ -45,7 +45,7 @@ func Rank(s *discordgo.Session, i *discordgo.InteractionCreate) {
xp, err := c.GetXP()
if err != nil {
utils.SendAlert(
"commands/rank.go - Fetching XP",
"commands/rank.go - Fetching xp",
err.Error(),
"discord_id",
c.ID,