smartfridge 4e892d5750 Update BetterDiscord Modules | 3 年之前 | |
---|---|---|
.. | ||
src | 4 年之前 | |
README.md | 4 年之前 | |
package-lock.json | 3 年之前 | |
package.json | 3 年之前 | |
tsconfig.json | 4 年之前 | |
webpack.config.js | 4 年之前 |
Disclaimer: This part of Lightcord is still in development. Features could be added/change/removed.
Lightcord includes a Discord.js-like api. This is written in this folder.
This is not for making selfbots. The purpose of this is only to make an easy, intuitive and object oriented api.
Documentation here Discord.js on Lightcord is based on Discord.js 11.6.4.
Discord.js can be accessed under the following global properties
Name | Global Properties | alias | Limitations |
---|---|---|---|
DiscordJS main module | window.DiscordJS | none | none |
DiscordJS client | window.DiscordJSClient | window.DiscordJS.client | none |
DiscordJS Client constructor | window.DiscordJS.Client | none | Can't be constructed because there's no need for more than one client |
DiscordJSError
saying that Lightcord can't do that)Lightcord can't make the client join multiple voice channels / join but the user doesn't know.
When joining a voice channel, The user's mic is sent. This is not for broadcasting/playing music in voice, but only to make the user join a voice channel.