Socket
Socket
Sign inDemoInstall

github.com/denkylabs/discord-api-types-go

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/denkylabs/discord-api-types-go


Version published

Readme

Source

Github tag CodeFactor DeepSource made-with-Go GitHub go.mod Go version of a Go module

discord-api-types

Up to date Discord API Typings for Golang

Installation

Stable version:

go get -u github.com/denkylabs/discord-api-types-go

Development version:

$ cd $GOPATH
$ mkdir -p src/github.com/denkylabs
$ cd src/github.com/denkylabs
$ git clone https://github.com/denkylabs/discord-api-types-go.git
$ cd discord-api-types-go
$ go install

Project Structure

The exports of each API version is split into three main parts:

  • Everything exported with the API prefix represents a payload you may get from the REST API or the Gateway.

  • Everything exported with the Gateway prefix represents data that ONLY comes from or is directly related to the Gateway.

  • Everything exported with the REST prefix represents data that ONLY comes from or is directly related to the REST API.

  • Anything else that is miscellaneous will be exported based on what it represents (for example the REST route object).

Warning: This package documents just KNOWN (and documented) properties. Anything that isn't documented will NOT be added to this package (unless said properties are in an open Pull Request to Discord's API Documentation repository or known through other means and have received the green light to be used). For clarification's sake, this means that properties that are only known through the process of data mining and have not yet been confirmed in a way as described will NOT be included.

Compatibility

Go versionStatus
Go 1.18Tests status
Go 1.17Not supported.
Go 1.16Not supported.

MIT license

FAQs

Last updated on 09 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc