Lightcord/DiscordJS
Jean Ouina 508ef57eb2 sltsv 2020-06-26 21:05:09 +02:00
..
js sltsv 2020-06-26 21:05:09 +02:00
src sltsv 2020-06-26 21:05:09 +02:00
README.md sltsv 2020-06-26 21:05:09 +02:00
package-lock.json sltsv 2020-06-26 21:05:09 +02:00
package.json sltsv 2020-06-26 21:05:09 +02:00
tsconfig.json disable csp 2020-05-21 01:40:58 +02:00
webpack.config.js sltsv 2020-06-26 21:05:09 +02:00

README.md

Lightcord's Discord.js

What is this ?

Lightcord includes a Discord.js-like api. This is written in this folder.

Where can I get the documentation ?

Documentation here Discord.js on Lightcord is following Discord.js 11.6.4 specs.

How do I use it ?

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

Deprecations

  1. Any method that only bot can use (it will throw a DiscordJSError saying that Lightcord can't do that)
  2. Any method