Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kedi/DWP
- Owner: kedi
- License: apache-2.0
- Created: 2020-07-08T12:07:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T03:01:54.000Z (almost 3 years ago)
- Last Synced: 2024-12-17T22:15:46.689Z (11 days ago)
- Topics: discord, discord-js, discordbot, discordbot-framework, nodejs
- Language: JavaScript
- Homepage: https://github.com/kedi/dwp
- Size: 155 KB
- Stars: 33
- Watchers: 1
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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)!