|
@@ -220,6 +220,15 @@ type Guild struct {
|
|
|
Unavailable *bool `json:"unavailable"`
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+type UserGuild struct {
|
|
|
+ ID string `json:"id"`
|
|
|
+ Name string `json:"name"`
|
|
|
+ Icon string `json:"icon"`
|
|
|
+ Owner bool `json:"owner"`
|
|
|
+ Permissions int `json:"permissions"`
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
type GuildParams struct {
|
|
|
Name string `json:"name"`
|