Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { Id string `json:"id"` Name string `json:"name"` Type string `json:"type"` // youtube, twitch, etc. Revoked bool `json:"revoked"` Integrations []Integration `json:"integrations"` Verified bool `json:"verified"` FriendSync bool `json:"friend_sync"` ShowActivity bool `json:"show_activity"` Visibility Visibility `json:"visibility"` }
type Integration ¶
type Integration struct { Id uint64 `json:"id,string"` Name string `json:"name"` Type string `json:"type"` // twitch, youtube, etc. Enabled bool `json:"enabled"` Syncing bool `json:"syncing"` RoleId uint64 `json:"role_id,string"` EnableEmoticons bool `json:"enable_emoticons"` ExpireBehaviour IntegrationExpireBehaviour `json:"expire_behavior"` ExpireGracePeriod int `json:"expire_grace_period"` User user.User `json:"user"` Account guild.Account `json:"account"` SyncedAt time.Time `json:"synced_at"` }
type IntegrationExpireBehaviour ¶
type IntegrationExpireBehaviour int
const ( RemoveRole IntegrationExpireBehaviour = 0 Kick IntegrationExpireBehaviour = 1 )
type Visibility ¶
type Visibility int
const ( VisibilityNone Visibility = 0 VisibilityEveryone Visibility = 1 )
Click to show internal directories.
Click to hide internal directories.