redo discord mocks

This commit is contained in:
41666 2025-03-26 13:35:47 -07:00
parent f4718f979a
commit dfbb9e2bca
19 changed files with 223 additions and 105 deletions

9
types/fixtures/guild.go Normal file
View file

@ -0,0 +1,9 @@
package fixtures
import "git.sapphic.engineer/roleypoly/v4/types"
var (
Guild = types.DiscordGuild{
ID: "1312",
}
)

12
types/fixtures/member.go Normal file
View file

@ -0,0 +1,12 @@
package fixtures
import "git.sapphic.engineer/roleypoly/v4/types"
var (
Member = types.DiscordMember{
User: User,
Nick: "Doll",
Permissions: 0,
Roles: []string{"role1", "role2"},
}
)

10
types/fixtures/user.go Normal file
View file

@ -0,0 +1,10 @@
package fixtures
import "git.sapphic.engineer/roleypoly/v4/types"
var (
User = types.DiscordUser{
Username: "41666",
ID: "41666",
}
)

View file

@ -1,3 +1,5 @@
package types
type DiscordGuild struct{}
type DiscordGuild struct {
ID string `json:"id"`
}