Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Commit

Permalink
Some refractors for consistency and update to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hassieswift621 committed Apr 20, 2019
1 parent 8c19e5c commit 3e3ba62
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package tatsumakigo
type GuildRankedUser struct {
Rank int64 `json:"rank"`
Score int64 `json:"score,string"`
UserID string `json:"user_id"`
UserId string `json:"user_id"`
}

// GuildUserPoints is the struct for a user's adjusted points in a guild.
Expand All @@ -19,10 +19,10 @@ type GuildUserScore struct {

// GuildUserStats is the struct for a user's stats in a guild.
type GuildUserStats struct {
GuildID string `json:"guild_id"`
GuildId string `json:"guild_id"`
Points int64 `json:"points,string"`
Score int64 `json:"score,string"`
UserID int64 `json:"user_id,string"`
UserId int64 `json:"user_id,string"`
}

// Ping is the struct for a ping response.
Expand All @@ -47,13 +47,13 @@ type User struct {

// Background is the struct for a profile background.
type Background struct {
ImageUrl string
ImageURL string
Name string
}

// Badge is the struct for a profile badge.
type Badge struct {
ImageUrl string
ImageURL string
Name string
}

Expand All @@ -64,7 +64,7 @@ type BadgeSlot struct {
SlotNo int
}

// LevelProgress is the struct for a user's current XP progress.
// LevelProgress is the struct for a user's current level progress.
type LevelProgress struct {
CurrentXp int64
RequiredXp int64
Expand Down

0 comments on commit 3e3ba62

Please sign in to comment.