diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-16 16:10:08 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-16 16:10:08 +0200 |
| commit | 6c2436093b0632097b23d75fb29216e02ff26581 (patch) | |
| tree | 44c03c1e22b9d8634b2ff52d0671188f4de45059 /xp | |
| parent | ac73839583271aa2f262912e062dae1d73a1f180 (diff) | |
fix(command): reset-user not working and can reset bot
Diffstat (limited to 'xp')
| -rw-r--r-- | xp/member.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xp/member.go b/xp/member.go index 9859ca2..b4a4bea 100644 --- a/xp/member.go +++ b/xp/member.go @@ -186,7 +186,7 @@ func (c *Copaing) GetUserBase() *gokord.UserBase { } func (c *Copaing) Reset() { - gokord.DB.Where("guild_id = ? AND discord_id", c.GuildID, c.DiscordID).Delete(c) + gokord.DB.Where("guild_id = ? AND discord_id = ?", c.GuildID, c.DiscordID).Delete(c) } func getRedisClient() (*redis.Client, error) { |
