remguilds

package module
v0.0.0-...-3377a85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2022 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	AccessToken  string `json:"access_token"`
	TokenType    string `json:"token_type"`
	ExpiresIn    int    `json:"expires_in"`
	RefreshToken string `json:"refresh_token"`
	Scope        string `json:"scope"`
	// contains filtered or unexported fields
}

type Guild

type Guild struct {
	ID          string   `json:"id"`
	Name        string   `json:"name"`
	Icon        string   `json:"icon"`
	IsOwner     bool     `json:"owner"`
	Permissions string   `json:"permissions"`
	Features    []string `json:"features"`
	// contains filtered or unexported fields
}

type Guilds

type Guilds []Guild

func (Guilds) FilterAdmin

func (guilds Guilds) FilterAdmin() Guilds

func (Guilds) IDList

func (guilds Guilds) IDList() []string

type OnboardedGuild

type OnboardedGuild struct {
	Guild       Guild `json:"guild"`
	RemIsMember bool  `json:"remIsMember"`
}

type OnboardedGuilds

type OnboardedGuilds []OnboardedGuild

func (OnboardedGuilds) Len

func (o OnboardedGuilds) Len() int

func (OnboardedGuilds) Less

func (o OnboardedGuilds) Less(i, j int) bool

func (OnboardedGuilds) Swap

func (o OnboardedGuilds) Swap(i, j int)

type Token

type Token struct {
	UserID        string `datastore:"userID"`
	ExpiresAt     int64  `datastore:"expiresAt"`
	AccessToken   string `datastore:"accessToken"`
	RefreshToken  string `datastore:"refreshToken"`
	Username      string `datastore:"username"`
	Discriminator string `datastore:"discriminator"`
	Avatar        string `datastore:"avatar"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL