command

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type int
const (
	// Heartbeat maintains an active gateway connection
	Heartbeat Type = 1
	// Identify triggers the initial handshake with the gateway
	Identify Type = 2
	// RequestGuildMembers requests members for a guild
	RequestGuildMembers Type = 8
	// Resume resumes a dropped gateway connection
	Resume Type = 6
	// UpdatePresence updates a client's presence
	UpdatePresence Type = 3
	// UpdateVoiceState joins, moves, or disconnects the client from a voice channel
	UpdateVoiceState Type = 4
)

func All

func All() []Type

Returns all 6 discord gateway commands

Jump to

Keyboard shortcuts

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