mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 06:49:52 +01:00
Can provide Discord ID on register
This commit is contained in:
16
klotz.go
16
klotz.go
@@ -68,9 +68,10 @@ type WatchUser struct {
|
||||
}
|
||||
|
||||
type UserData struct {
|
||||
Username string `json:"username"`
|
||||
MalID int64 `json:"malId"`
|
||||
Secret string `json:"secret"`
|
||||
Username string `json:"username"`
|
||||
MalID int64 `json:"malId"`
|
||||
DiscordID int64 `json:"discordId"`
|
||||
Secret string `json:"secret"`
|
||||
}
|
||||
|
||||
type User struct {
|
||||
@@ -86,10 +87,11 @@ type User struct {
|
||||
}
|
||||
|
||||
type RegisterData struct {
|
||||
Username string `json:"username"`
|
||||
MalID int64 `json:"malId"`
|
||||
Secret string `json:"secret"`
|
||||
Sauce string `json:"sauce"`
|
||||
Username string `json:"username"`
|
||||
MalID int64 `json:"malId"`
|
||||
DiscordID int64 `json:"discordId"`
|
||||
Secret string `json:"secret"`
|
||||
Sauce string `json:"sauce"`
|
||||
}
|
||||
|
||||
type AnimeDetailMal struct {
|
||||
|
||||
Reference in New Issue
Block a user