Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/3steb4n28/discord-vr
A package designed for Discord Bot developers willing to add vote rewards function to their bot!
https://github.com/3steb4n28/discord-vr
discord discord-bot discord-vr vote vote-rewards
Last synced: about 2 months ago
JSON representation
A package designed for Discord Bot developers willing to add vote rewards function to their bot!
- Host: GitHub
- URL: https://github.com/3steb4n28/discord-vr
- Owner: 3STEB4N28
- License: isc
- Created: 2021-06-17T21:28:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-16T01:26:03.000Z (over 3 years ago)
- Last Synced: 2023-07-17T04:55:26.645Z (over 1 year ago)
- Topics: discord, discord-bot, discord-vr, vote, vote-rewards
- Language: JavaScript
- Homepage: https://discord-vr.js.org
- Size: 16.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Discord-VR
**Discord-VR** is a package written in **JavaScript** willing to help in the development of **Discord Bots**!
---
## Example Usage
```js
const { Client } = require('discord.js');
const { DVRClient } = require('discord-vr');
const client = new Client();
const dvrclient = new DVRClient({
client,
userID: "1234567890",
rewardAmount: 150,
port: 3000
});client.login('discord bot token');
```
Now, in order for this to work, you need to know your server's URl, most of the times it is http://ip:port, but if you're using [Repl.it](https://replit.com), or [Glitch](https://glitch.com), you only need the URL which will be displayed right after you declare Discord-VR's client. Then, go to any of the bot lists down below and set the URl to /webhook/votes, after that check the table down below to see the authentication depending on the bot list.| Bot List | Auth |
| ----------- | -----|
| `infinitybotlist.com` | 1234567890.ibl |
| `top.gg` | 1234567890.top.gg |
| `discordbotlist.com` | 1234567890.dbl.com |
| `voidbots.net` | 1234567890.vb |
| `botsfordiscord.com` | 1234567890.bfd |
| `bots.discordlabs.org` | 1234567890.dl |This package requires `quick.db@^7.0.0-b22` in order to work properly, the package includes this by itself, please do not install any other version or else the package will error!
For further help visit the [Documentation](https://discord-vr.js.org) or join the [Support Server](https://discord.gg/XjZsnZVurC)
---
## Credits
- **Main Developer**: [3STEB4N28](https://github.com/3STEB4N28/3STEB4N28)
- **Co Developer**: [LostNuke](https://github.com/LostNuke/LostNuke)
- **Co Developer**: [Fyrlex](https://github.com/Fyrlex)