Skip to content
/ DWP Public

DiscordWrapper (DWP) is a useful NodeJS wrapper/library which allows you to interact with Discord API.

License

Notifications You must be signed in to change notification settings

kedi/DWP

Repository files navigation

Discord API Wrapper for NodeJS

The -probably- hardest way to interact with Discord API while using a NodeJS library.

GitHub stars GitHub code size in bytes GitHub GitHub package.json version Libraries.io dependency status for GitHub repo

To start using this wrapper, install the library:

npm install @kedi/[email protected]

Bring the library & call the class into your code:

const DiscordWrapper = require("@kedi/discordwrapper")

const client = new DiscordWrapper()

Here you go, now you need to login to the client with your bot's token:

client.login("token")

Now you are all set. Please go to docs in the repistory and see Managers for more info on how you can do stuff. If you are done here, your code should look like:

const DiscordWrapper = require("@kedi/discordwrapper")
const client = new DiscordWrapper()
client.login("token")

If you have any questions, feel free to DM me via Discord Toasty#0001!