# discord-net/Discord.Net

An unofficial .Net wrapper for the Discord API (https://discord.com/)

Repository: https://github.com/discord-net/Discord.Net
Canonical: https://ross.abutalabs.com/products/discordnet
Homepage: https://discordnet.dev
Language: C#
License: MIT
License Family: permissive
Topics: discord, discord-api, csharp, netcore, bot, discord-net, dotnet-core
Last push: 2026-08-21T21:24:55+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 75, longevity 100
- inputs: {"age_days": 4047, "days_push": 12, "days_rel": 87, "gap_med": 48.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3511, forks 751 (observed 2026-08-28T04:08:07.707995+00:00)

## What it is
Discord.Net is an unofficial asynchronous .NET library for interfacing with the Discord API, with modular packages for REST, WebSocket, commands, and interactions. It lets developers build Discord bots and integrations in C#/.NET.

## Use cases
- build a discord bot in c#
- create slash commands for discord
- send messages to discord channels from .net
- handle discord events with websockets
- manage discord guilds and roles programmatically
- make a moderation bot for discord

## When to choose
- you are building a Discord bot or integration in C#/.NET
- you need full Discord API coverage including WebSocket gateway events
- you want modular packages so you can use only REST or only webhooks

## When to avoid
- you are building bots in another language like Python or JavaScript
- you need an officially supported Discord SDK with vendor support
- you need a no-code or hosted bot solution

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, websocket, api-framework
- domain: apis, messaging-platforms, developer-tools
- platform: dotnet, cross-platform, c
- tags: discord-api, discord-bot, csharp, dotnet, api-wrapper, chatbot, automation

## Member repositories
- discord-net/Discord.Net (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.707995+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-29T18:35:42.944618+00:00, confidence not recorded.
  - readme: https://github.com/discord-net/Discord.Net (fetched 2026-08-28T04:08:07.707995+00:00, sha b0ef95e64683)
  - homepage: https://discordnet.dev (fetched 2026-08-29T09:29:37.253195+00:00, sha bfbbc2a1429c)
  - site_page: https://docs.discordnet.dev/api/index.html (fetched 2026-08-29T09:29:37.255452+00:00, sha cae935d88a1e)
  - site_page: https://docs.discordnet.dev/faq/basics/getting-started.html (fetched 2026-08-29T09:29:37.257160+00:00, sha d775cdd54e7f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
