返回排行榜

discord-net/Discord.Net

C#discordnet.dev

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

discorddiscord-apicsharpnetcorebotdiscord-netdotnet-core
Star 增长趋势
Star
3.5k
Forks
754
周增长
Issues
86
1k2k3k
2015年8月2019年3月2022年11月2026年7月
README
Discord.Net is an unofficial .NET API Wrapper for the Discord API (https://discord.com).

📄 Documentation

Documentation can be found at https://docs.discordnet.dev/index.html

🩷 Supporting Discord.Net

Discord.Net is an MIT-licensed open source project with its development made possible entirely by volunteers. If you'd like to support our efforts financially, please consider:

📥 Installation

Stable (NuGet)

Our stable builds available from NuGet through the Discord.Net metapackage:

The individual components may also be installed from NuGet:

Nightlies

Nightlies are builds of Discord.NET that are still in an experimental phase, and have not been released.
They are available through 2 different sources:

[!NOTE] GitHub Packages requires authentication. You can find more information here.

🛑 Known Issues

WebSockets (Win7 and earlier)

.NET Core 1.1 does not support WebSockets on Win7 and earlier. This issue has been fixed since the release of .NET Core 2.1. It is recommended to target .NET Core 2.1 or above for your project if you wish to run your bot on legacy platforms; alternatively, you may choose to install the Discord.Net.Providers.WS4Net package.

TLS on .NET Framework.

Discord supports only TLS1.2+ on all their websites including the API since 07/19/2022. .NET Framework does not support this protocol by default. If you depend on .NET Framework, it is suggested to upgrade your project to net6-windows. This framework supports most of the windows-only features introduced by fx, and resolves startup errors from the TLS protocol mismatch.

🗃️ Versioning Guarantees

This library generally abides by Semantic Versioning. Packages are published in MAJOR.MINOR.PATCH version format.

Patch component

An increment of the PATCH component always indicates that an internal-only change was made, generally a bugfix. These changes will not affect the public-facing API in any way, and are always guaranteed to be forward- and backwards-compatible with your codebase, any pre-compiled dependencies of your codebase.

Minor component

An increment of the MINOR component indicates that some addition was made to the library, and this addition is not backwards-compatible with prior versions. However, Discord.Net does not guarantee forward-compatibility on minor additions. In other words, we permit a limited set of breaking changes on a minor version bump.

Due to the nature of the Discord API, we will oftentimes need to add a property to an entity to support the latest API changes. Discord.Net provides interfaces as a method of consuming entities; and as such, introducing a new field to an entity is technically a breaking change. Major version bumps generally indicate some major change to the library, and as such we are hesitant to bump the major version for every minor addition to the library. To compromise, we have decided that interfaces should be treated as consumable only, and your applications should typically not be implementing interfaces.

For applications where interfaces are implemented, such as in test mocks, we apologize for this inconsistency with SemVer.

While we will never break the API (outside of interface changes) on minor builds, we will occasionally need to break the ABI, by introducing parameters to a method to match changes upstream with Discord. As such, a minor version increment may require you to recompile your code, and dependencies, such as addons, may also need to be recompiled and republished on the newer version. When a binary breaking change is made, the change will be noted in the release notes.

Major component

An increment of the MAJOR component indicates that breaking changes have been made to the library; consumers should check the release notes to determine what changes need to be made.

📚 Branches

Release/X.X

Release branch following Major.Minor. Upon release, patches will be pushed to these branches. New NuGet releases will be tagged on these branches.

Dev

Development branch, available on MyGet. This branch is what pull requests are targetted to.

Feature/X

Branches that target Dev, adding new features. Feel free to explore these branches and give feedback where necessary.

Docs/X

Usually targets Dev. These branches are used to update documentation with either new features or existing feature rework.

相关仓库
AstrBotDevs/AstrBot

AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨

PythonPyPIGNU Affero General Public License v3.0aichatbot
astrbot.app
37.5k2.6k
tqdm/tqdm

:zap: A Fast, Extensible Progress Bar for Python and CLI

PythonPyPIOtherprogressbarprogressmeter
tqdm.github.io
31.2k1.5k
discordjs/discord.js

A powerful JavaScript library for interacting with the Discord API

TypeScriptnpmApache License 2.0discord-apidiscord
discord.js.org
26.8k4.1k
TranslucentTB/TranslucentTB

A lightweight utility that makes the Windows taskbar translucent/transparent.

C++GNU General Public License v3.0taskbarwindows
translucenttb.github.io
19.9k1.2k
lss233/kirara-ai

🤖 可 DIY 的 多模态 AI 聊天机器人 | 🚀 快速接入 微信、 QQ、Telegram、等聊天平台 | 🦈支持DeepSeek、Grok、Claude、Ollama、Gemini、OpenAI | 工作流系统、网页搜索、AI画图、人设调教、虚拟女仆、语音对话 |

PythonPyPIGNU Affero General Public License v3.0chatgptopenai
kirara-docs.app.lss233.com
18.9k1.8k
elizaOS/eliza

Open source agentic operating system

TypeScriptnpmMIT Licenseagentagentic
elizaos.ai
18.8k5.6k
langbot-app/LangBot

Production-grade platform for building agentic IM bots - 生产级多平台智能机器人开发平台/ Agent、知识库编排、插件系统 / Bots for Discord / Slack / LINE / Telegram / WeChat(企业微信, 企微智能机器人, 公众号) / 飞书 / 钉钉 / QQ / Matrix e.g. Integrated with ChatGPT(GPT), DeepSeek, Dify, n8n, Langflow, Coze, Claude, Gemini, GLM, Ollama, SiliconFlow, Moonshot, openclaw / hermes agent, deerflow

PythonPyPIApache License 2.0qqopenai
langbot.app
17k1.5k
Rapptz/discord.py

An API wrapper for Discord written in Python.

PythonPyPIMIT Licensediscorddiscord-api
discordpy.rtfd.org/en/latest
16.1k3.9k
OpenRCT2/OpenRCT2

An open source re-implementation of RollerCoaster Tycoon 2 🎢

C++GNU General Public License v3.0c-plus-plusgame
openrct2.io
16k1.9k
lss233/chatgpt-mirai-qq-bot

🤖 可 DIY 的 多模态 AI 聊天机器人 | 🚀 快速接入 微信、 QQ、Telegram、等聊天平台 | 🦈支持DeepSeek、Grok、Claude、Ollama、Gemini、OpenAI | 工作流系统、网页搜索、AI画图、人设调教、虚拟女仆、语音对话 |

PythonPyPIGNU Affero General Public License v3.0chatgptopenai
kirara-docs.app.lss233.com
14.4k1.6k
Vendicated/Vencord

The cutest Discord modification

TypeScriptnpmGNU General Public License v3.0discordmod
vencord.dev
13.7k2.4k
Tyrrrz/DiscordChatExporter

Saves Discord chat logs to a file

C#MIT Licensediscordchat
github.com/Tyrrrz/DiscordChatExporter/releases
11.6k992