about summary refs log tree commit diff
path: root/pkg/discord/entities.go
blob: 85965bffc1bd1e5fbbf45a97f7572c14d2dc4ba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package discord

type Snowflake string

type User struct {
	ID            Snowflake `json:"id"`
	Username      string    `json:"username"`
	Discriminator string    `json:"discriminator"`
}

type Guild struct {
	ID          Snowflake `json:"id"`
	Name        string    `json:"name"`
	Unavailable bool      `json:"unavailable"`
}