Skip to content
项目

关于

Discord 的修补版,支持机器人登录和 Vencord。

其他项目

这些数字如何统计

可以做什么

  • View Guilds (Lazy load them)
  • Manage Guilds, Channels
  • Messages (Send, View History, Embeds, Components (V2)[^7], Reactions, Manage, Create Poll)
  • Create a Guild[^1]

实测星标增长

24小时
+1
7天
+3
15天
+10
1个月
+22

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

DiscordBotClient

DiscordBotClient allows you to use your bot, just like any other user account, except for Friends and Groups.

Overview

[!WARNING]

Third party clients are discouraged and against the Discord TOS.

DiscordBotClient is a custom Discord client that aims to support bot accounts and be aimed at power-users.

The application only uses the official Discord API and doesn't send data to third parties. However, this application is not an official product by Discord Inc.

Demo Screenshot


Installation

Windows

DiscordBotClient can be installed in Windows via Winget:

winget install aiko-chan-ai.DiscordBotClient

Using prebuilt binaries

If you don't want to build the application yourself or use some kind of package management system, you can get the latest binaries for the three major systems in the release overview:

[!TIP]

Platform Binary Type Download Link
Windows NSIS installer DiscordBotClient-win-x64.exe
Linux .AppImage DiscordBotClient-linux-x86_64.AppImage
Mac arm64 (Apple Silicon) .dmg DiscordBotClient-mac-arm64.dmg
Mac x64 (Intel) .dmg DiscordBotClient-mac-x64.dmg

[!WARNING]

The application is not signed with a valid certificate on macOS or Windows.

As a result, on Windows, SmartScreen or Windows Defender may be triggered — you can simply bypass or whitelist it.

On macOS, you may see a warning that says:

“DiscordBotClient” is damaged and can’t be opened. You should move it to the Trash.

You can safely ignore this warning by following the instructions in this link: https://github.com/aiko-chan-ai/DiscordBotClient/issues/194#issuecomment-2555817658

See: About anti-virus detection for more information.

Building from source

In order to execute the following commands, you need to install NodeJS v24 or higher. You can find Node.JS packages at https://nodejs.org/en. On top of that, you need to have git installed. It can be found at https://git-scm.com/downloads.

UPDATES MUST BE INSTALLED MANUALLY[^6]

Open a command line and execute the following commands:

git clone https://github.com/aiko-chan-ai/DiscordBotClient.git
cd DiscordBotClient
npm run requirement
npm run build

This will create an executable called DiscordBotClient or DiscordBotClient.exe in the dist folder, depending on whether you are using Windows or not.

requirement installs the root lockfile, checks out the pinned Vencord, BotClient plugin, and Discohook revisions from scripts/build-dependencies.json. Existing checkouts are never reset; a mismatched revision stops with an error so local work is not lost. build packages locally without publishing. Maintainers should use the release process for tags and artifacts. After building, run npm run typecheck for TypeScript and npm test on Windows for the Electron integration suite. Use npm start to launch the app.


Login

Logging in works via the UI on first startup of the application.

screenshot

[!NOTE] Enable MessageContent intent, other intents are optional.

[!TIP] If you want a list of members and their status, enable all intents.

image


Features

  • Sharding
  • View Guilds (Lazy load them)
  • Manage Guilds, Channels
  • Messages (Send, View History, Embeds, Components (V2)[^7], Reactions, Manage, Create Poll)
  • Create a Guild[^1]
  • Voice[^2]
  • Nitro[^3]
  • Direct Message[^4]
  • Vencord Built-in

[^1]: See https://discord.com/developers/docs/change-log?topic=HTTP+API#deprecating-guild-creation-by-apps

[^2]: Except for features related to streams.

[^3]: Nitro features are reduced: Unable to use stickers everywhere, cannot send files larger than 10 MB, and cannot set avatar decorations.

[^4]: Implemented with restrictions on the client.


Version

  • Currently, I will only support the latest version of this application; other versions will not receive bug fixes.

  • The versions removed from the table were unstable and did not work properly.

Discord Build Hash Vencord Client version Release Status App Status
Latest ? ? ? Beta ℹ
Stable 657850 7f7c08c v1.15.15 v3.10.7 Latest ✔
Stable 589596 95c90b9 v1.15.0 v3.9.3 Deprecated ✔
Stable 510733[^7] 2fcef2a v1.14.5 v3.9.1 EOL ✔ ⚠
Stable 491153[^6] 496afea v1.14.1 v3.8.3 EOL ✔ ⚠
Stable 479219 582c5bf v1.13.8 v3.8.2 EOL ✔ ⚠
Stable 453248 0a497ab v1.13.1 v3.8.1 EOL ✔ ⚠
Stable 415772 0c81c46 v1.12.5 v3.7.4 EOL ✔ ⚠
Stable 403437 fa5cfe9 v1.12.2 v3.7.2 EOL ✔ ⚠
Stable 394055 f598231 v1.11.9 v3.7.1 EOL ✔ ⚠
Stable 360320 38aca73 v1.10.9 v3.6.2 EOL ✔ ⚠
Stable 355624 8dc6074 v1.10.9 v3.6.1 EOL ✔ ⚠
Stable 204762 78f82ba v1.2.8 v2.4.2 EOL[^5] ✔ ⚠
  • ✔ – Fully functional and expected to be free of critical bugs.
  • ℹ – Supports at least basic functionality, but is still under development. Minor issues may occur.
  • ⛔ – This version has major issues (e.g., related to app startup). It is not recommended for use.
  • ⚠ – This version has reached its end of support.

[^5]: Latest version that supports Windows 7 / 8 / 8.1 is 2.4.2. However, you can build this application with an older version of Electron and Node.js, and expect it to work correctly.

[^6]: Testing the automatic update feature for Windows and Linux. macOS is not supported because the application lacks a valid certificate.

[^7]: The first version that supports the advanced message editor (beta), including support for Embeds and Components V1 & V2. Note: Support for interactive components is outside the scope of this project.


Troubleshooting

If you happen to encounter a crash or a bug, please submit a bug report via the project's GitHub issue tracker.

FAQ

In order to find answers to common questions, check out the FAQ in the wiki:

About anti-virus detection

Sometimes, DiscordBotClient will be flagged as malware by several anti-virus programs (Avast, AVG, Norton, McAfee, Windows Defender, etc.). However, this is a false positive.

The reason for this is that the application is not signed.

If downloaded from my GitHub, the program is safe to use (I cannot give this promise if you download it from somewhere else!). It is okay if you do not trust me; you can always go ahead and compile it yourself.

For a tutorial on how to exclude this program from your antivirus so it can run anyway, check out these links:

Windows Defender: https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26
Avast: https://support.avast.com/en-ww/article/Antivirus-scan-exclusions#pc
AVG: https://support.avg.com/SupportArticleView?l=en&urlName=avg-antivirus-scan-exclusion
Norton: https://support.norton.com/sp/en/us/home/current/solutions/v3672136
McAfee: https://www.mcafee.com/support/?page=shell&shell=article-view&articleId=TS102056
For other antiviruses, try searching for "<antivirus name> add exception"

Similar projects

Here is a list of similar projects:

Hit me up if you have a similar project, and I'll gladly add it to the list.

Star History


How to update to the latest Discord version ?

[!TIP] This updates the web snapshot. Vencord, the BotClient plugin, and Discohook are pinned separately so a release can be rebuilt from the same sources.

  1. Clone this repository and navigate into its directory (skip this step if you have already done so).
git clone https://github.com/aiko-chan-ai/DiscordBotClient.git
cd DiscordBotClient
  1. Install the pinned dependencies

[!NOTE] To change an upstream dependency, commit and push the source change, update its revision in scripts/build-dependencies.json, and verify the build before committing the app.

npm run requirement
  1. Generate a snapshot for the latest version of Discord Web
npm run core:update

Credits

Startup animation logic is adapted from codex-startup-animation. Startup artwork is credited to Mihoyo.

Thanks to ChrisEric for the source code that uses a local proxy to emulate a different version of Discord.

This project was mainly inspired by SamuelScheit Discord Bot Client, which he sadly didn't develop any further.

And a big thank you to Vencord developers for making it easier for me to create this app.

Disclaimer

Discord is trademark of Discord Inc. and solely mentioned for the sake of descriptivity. Mention of it does not imply any affiliation with or endorsement by Discord Inc.

探索相关项目

加载中…