# bwmarrin/discordgo

(Golang) Go bindings for Discord

Repository: https://github.com/bwmarrin/discordgo
Canonical: https://ross.abutalabs.com/products/discordgo
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: go, golang, discord, discordgo, discord-api
Last push: 2026-02-14T12:39:28+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 67, release rhythm 8, longevity 100
- inputs: {"age_days": 3958, "days_push": 200, "days_rel": 466, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5974, forks 929 (observed 2026-08-28T04:09:33.902716+00:00)

## What it is
DiscordGo is a Go package providing low-level bindings to the Discord API, with nearly complete support for REST endpoints, the websocket gateway, and voice interfaces. It is used to build Discord bots and clients in Go.

## Use cases
- build a discord bot in go
- connect to discord websocket gateway
- send messages via discord api from golang
- add voice chat support to a discord bot
- handle discord events and slash commands
- create a discord server management tool

## When to choose
- you are writing a Discord bot or client in Go
- you need low-level, near-complete coverage of the Discord API including voice
- you want a mature, widely used Go Discord library

## When to avoid
- you are not using Go
- you want a high-level bot framework with command handlers built in
- you need a guaranteed stable API, since the library and Discord API are still evolving

## Facets
- artifact type: library
- maturity: active
- function: http-client, websocket, sdk, chatbot
- domain: messaging-platforms, apis, developer-tools, chatbots
- platform: go, cross-platform
- tags: discord-api, discord-bot, go-library, voice, websocket-client

## Member repositories
- bwmarrin/discordgo (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:33.902716+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:50:08.336117+00:00, confidence not recorded.
  - readme: https://github.com/bwmarrin/discordgo (fetched 2026-08-28T04:09:33.902716+00:00, sha 6439f6d0cdab)
- Data as of 2026-08-30T08:39:29.467469+00:00.
