Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kedi/DWP

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

discord discord-js discordbot discordbot-framework nodejs

Last synced: 10 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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

![GitHub stars](https://img.shields.io/github/stars/kedi/discordwrapper)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/kedi/discordwrapper)
![GitHub](https://img.shields.io/github/license/kedi/discordwrapper)
![GitHub package.json version](https://img.shields.io/github/package-json/v/kedi/discordwrapper)
![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/kedi/discordwrapper)

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](https://github.com/kedi/discordwrapper/tree/master/docs/Managers) 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:

```js
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](https://discord.com/users/478307244509888532)!