database changes
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"git.nix13.pw/scuroneko/extypes"
|
||||
"git.nix13.pw/scuroneko/laniakea"
|
||||
)
|
||||
|
||||
@@ -224,7 +225,7 @@ func waifuSearch(ctx *laniakea.MsgContext, db *laniakea.DatabaseContext) {
|
||||
return
|
||||
}
|
||||
|
||||
var freeWaifus []*psql.Waifu
|
||||
var freeWaifus extypes.Slice[psql.Waifu]
|
||||
rarity := 3
|
||||
if rand == 0 {
|
||||
rarity = 5
|
||||
|
||||
Reference in New Issue
Block a user