chore(discord): prevent spaming discord API if a guild has more than 50 users

This commit is contained in:
Anhgelus Morhtuuzh 2024-06-17 14:33:15 +02:00
parent d485b0de1c
commit 5b0d9e4dd3
Signed by: anhgelus
GPG key ID: CAD341EFA92DDDE5
3 changed files with 17 additions and 6 deletions

8
go.mod
View file

@ -5,17 +5,17 @@ go 1.22
require (
github.com/anhgelus/gokord v0.5.0
github.com/bwmarrin/discordgo v0.28.1
github.com/redis/go-redis/v9 v9.5.1
github.com/redis/go-redis/v9 v9.5.3
gorm.io/gorm v1.25.10
)
require (
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/gorilla/websocket v1.5.1 // indirect
github.com/gorilla/websocket v1.5.2 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 // indirect
github.com/jackc/pgx/v5 v5.5.5 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.6.0 // indirect
github.com/jackc/puddle/v2 v2.2.1 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect