Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GuildTemplate struct and documentation #1191

Merged
merged 5 commits into from Jun 19, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions structs.go
Expand Up @@ -946,7 +946,7 @@ type GuildScheduledEventUser struct {
Member *Member `json:"member"`
}

// A GuildTemplate represents
// A GuildTemplate represents a replicable template for guild creation
type GuildTemplate struct {
// The unique code for the guild template
Code string `json:"code"`
Expand All @@ -958,7 +958,7 @@ type GuildTemplate struct {
Description string `json:"description"`
QPixel marked this conversation as resolved.
Show resolved Hide resolved

// The number of times this template has been used
UsageCount string `json:"usage_count"`
UsageCount int `json:"usage_count"`

// The ID of the user who created the template
CreatorID string `json:"creator_id"`
Expand Down