Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayClient ¶ added in v0.6.0
NewGatewayClient returns a new Gateway API client (gateway.Client) to handle real-time events from Discord
func NewRestClient ¶
NewRestClient returns a new REST client (rest.Client) to make REST API calls only, may be a bot or a user token
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
_examples
|
|
Package constants holds the constants used across the library
|
Package constants holds the constants used across the library |
Package discord holds the different structures of Discord's API
|
Package discord holds the different structures of Discord's API |
Package endpoints is a package that will facilitate getting Discord endpoints
|
Package endpoints is a package that will facilitate getting Discord endpoints |
Package errors is a package where internal errors used across the library are stored
|
Package errors is a package where internal errors used across the library are stored |
ext
|
|
tasks
Package tasks in an experimental package which serves as an extension that lets users run a function at a specified interval
|
Package tasks in an experimental package which serves as an extension that lets users run a function at a specified interval |
Package gateway handles the Gateway API of Discord
|
Package gateway handles the Gateway API of Discord |
Package oauth2 handle the OAuth 2.0 flow for Discord
|
Package oauth2 handle the OAuth 2.0 flow for Discord |
Package ptr is a package to get a pointer for given types
|
Package ptr is a package to get a pointer for given types |
Package rest handles the REST API of Discord
|
Package rest handles the REST API of Discord |
utils
|
|
flags
Package flags is a package for helper functions related to bitwise flags
|
Package flags is a package for helper functions related to bitwise flags |
timestamp
Package timestamp is a package for making it easier to send timestamps in Discord messages
|
Package timestamp is a package for making it easier to send timestamps in Discord messages |
Click to show internal directories.
Click to hide internal directories.