message

package
v1.0.0-RC01 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticate

type Authenticate struct {
	Token      string        `json:"token"`
	Properties Properties    `json:"properties"`
	Compress   bool          `json:"compress"`
	Shard      Shard         `json:"shard"`
	Intents    intent.Intent `json:"intents"`
}

type Event

type Event struct{}

type Properties

type Properties struct {
	OS      string `json:"$os"`
	Browser string `json:"$browser"`
	Device  string `json:"$device"`
}

type Shard

type Shard [2]int

type Snowflake

type Snowflake string

type User

type User struct {
	Username      string    `json:"username"`
	MFAEnabled    bool      `json:"mfa_enabled"`
	Verified      bool      `json:"verified"`
	ID            Snowflake `json:"id"`
	Flags         int64     `json:"flags"`
	Email         string    `json:"email"`
	Discriminator string    `json:"discriminator"`
	Bot           bool      `json:"bot"`
	Avatar        string    `json:"avatar"`
}

Jump to

Keyboard shortcuts

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