Fix compilation
This commit is contained in:
parent
5d90812f15
commit
6a38864321
5
go.mod
5
go.mod
@ -11,22 +11,17 @@ require (
|
||||
github.com/apex/log v1.1.2
|
||||
github.com/boj/redistore v0.0.0-20180917114910-cd5dcc76aeff // indirect
|
||||
github.com/dgrijalva/jwt-go v3.2.0+incompatible
|
||||
github.com/elliotchance/orderedmap v1.2.1 // indirect
|
||||
github.com/gin-contrib/static v0.0.0-20191128031702-f81c604d8ac2
|
||||
github.com/gin-gonic/contrib v0.0.0-20191209060500-d6e26eeaa607
|
||||
github.com/gin-gonic/gin v1.7.1
|
||||
github.com/go-redis/redis v6.15.9+incompatible
|
||||
github.com/gorilla/sessions v1.2.0 // indirect
|
||||
github.com/gorilla/websocket v1.4.2
|
||||
github.com/jackc/fake v0.0.0-20150926172116-812a484cc733 // indirect
|
||||
github.com/jackc/pgx/v4 v4.7.1
|
||||
github.com/klauspost/compress v1.10.10 // indirect
|
||||
github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/rxdn/gdl v0.0.0-20210701115435-816eb486d5d0
|
||||
github.com/sirupsen/logrus v1.5.0
|
||||
github.com/ulule/limiter/v3 v3.5.0
|
||||
golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 // indirect
|
||||
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
|
||||
gopkg.in/alexcesaro/statsd.v2 v2.0.0 // indirect
|
||||
)
|
||||
|
@ -29,7 +29,7 @@ func LoadGuilds(accessToken string, userId uint64) error {
|
||||
GuildId: guild.Id,
|
||||
Name: guild.Name,
|
||||
Owner: guild.Owner,
|
||||
UserPermissions: int32(guild.Permissions),
|
||||
UserPermissions: guild.Permissions,
|
||||
Icon: guild.Icon,
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user