-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ikafly144 <[email protected]>
- Loading branch information
Showing
12 changed files
with
315 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package level | ||
|
||
import "github.com/disgoorg/snowflake/v2" | ||
|
||
type mee6LeaderBoard struct { | ||
Admin bool `json:"admin"` | ||
BannerURL *string `json:"banner_url"` | ||
Country string `json:"country"` | ||
Guild mee6Guild `json:"guild"` | ||
IsMember bool `json:"is_member"` | ||
MonetizeOptions mee6MonetizeOptions `json:"monetize_options"` | ||
Page int `json:"page"` | ||
Player *mee6Player `json:"player"` | ||
Players []mee6Player `json:"players"` | ||
RoleRewards []any `json:"role_rewards"` | ||
UserGuildSettings any `json:"user_guild_settings"` | ||
XpPerMessage []int `json:"xp_per_message"` | ||
XpRate float64 `json:"xp_rate"` | ||
} | ||
|
||
type mee6Guild struct { | ||
AllowJoin bool `json:"allow_join"` | ||
ApplicationCommandsEnabled bool `json:"application_commands_enabled"` | ||
CommandsPrefix string `json:"commands_prefix"` | ||
Icon string `json:"icon"` | ||
ID string `json:"id"` | ||
InviteLeaderboard bool `json:"invite_leaderboard"` | ||
LeaderboardURL string `json:"leaderboard_url"` | ||
Name string `json:"name"` | ||
Premium bool `json:"premium"` | ||
} | ||
|
||
type mee6MonetizeOptions struct { | ||
DisplayPlans bool `json:"display_plans"` | ||
ShowcaseSubscribers bool `json:"showcase_subscribers"` | ||
} | ||
|
||
type mee6Player struct { | ||
Avatar string `json:"avatar"` | ||
DetailedXp []int64 `json:"detailed_xp"` | ||
Discriminator string `json:"discriminator"` | ||
GuildID string `json:"guild_id"` | ||
ID snowflake.ID `json:"id"` | ||
IsMonetizeSubscriber bool `json:"is_monetize_subscriber"` | ||
Level int64 `json:"level"` | ||
MessageCount int64 `json:"message_count"` | ||
MonetizeXpBoost int64 `json:"monetize_xp_boost"` | ||
Username string `json:"username"` | ||
Xp int64 `json:"xp"` | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.