Dasgo provides a direct representation of Discord API Objects in Go.
There are two ways to use dasgo
.
Get a specific version of the dasgo
dependency by specifying a branch or tag.
go get github.com/switchupcb/dasgo@latest
Dasgo branches are referenced by API version (i.e v8, v9).
Use an alias to rename the type in your project.
// alias dasgo.User to DiscordUser in your application or library.
type DiscordUser dasgo.User
Use copy/paste or code generation to add dasgo
types to your repository.
For more information, read the Specification.
You can contribute to this repository by reading Contribution.
The BSD 3-Clause is a permissive license.
Libraries that use Dasgo.
Library | Description |
---|---|
Disgo | Discord API Wrapper, Cache, and Shard Manager. |