aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/guild.go1
-rw-r--r--main.go2
-rw-r--r--xp/member.go2
3 files changed, 1 insertions, 4 deletions
diff --git a/config/guild.go b/config/guild.go
index 48ebc96..242cc89 100644
--- a/config/guild.go
+++ b/config/guild.go
@@ -9,7 +9,6 @@ import (
type GuildConfig struct {
gorm.Model
- gokord.DataBase
GuildID string `gorm:"not null"`
XpRoles []XpRole
DisabledChannels string
diff --git a/main.go b/main.go
index 64e9147..5baeab7 100644
--- a/main.go
+++ b/main.go
@@ -14,7 +14,7 @@ import (
var token string
const (
- Version = "2.2.1" // git version: 0.2.1 (it's the v2 of the bot)
+ Version = "2.2.2" // git version: 0.2.2 (it's the v2 of the bot)
)
func init() {
diff --git a/xp/member.go b/xp/member.go
index 9352a30..639e0d6 100644
--- a/xp/member.go
+++ b/xp/member.go
@@ -16,8 +16,6 @@ import (
type Copaing struct {
gorm.Model
- gokord.RedisBase
- gokord.DataBase
DiscordID string `gorm:"not null"`
XP uint `gorm:"default:0"`
GuildID string `gorm:"not null"`