https://github.com/r-webdev/discord-bot
Community made Discord bot for the /r/webdev Discord
https://github.com/r-webdev/discord-bot
Last synced: 16 days ago
JSON representation
Community made Discord bot for the /r/webdev Discord
- Host: GitHub
- URL: https://github.com/r-webdev/discord-bot
- Owner: r-webdev
- License: gpl-3.0
- Created: 2019-02-08T04:53:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-15T23:54:54.000Z (about 6 years ago)
- Last Synced: 2025-03-28T05:22:46.448Z (about 1 month ago)
- Language: JavaScript
- Size: 135 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webster the Web Bot
Community-made bot for the [/r/webdev+web_design Discord](https://discordapp.com/invite/keD8rZp), aimed to merge a handful of bots into one.
## Getting Started
This bot is done in Node.js with a MongoDB database backing it. Ensure you have a MongoDB database to use as a testing ground like [mLab](https://mlab.com/).
Copy the .env.example file to .env and fill out the details, including a key to use for Discord (https://discordapp.com/developers/applications/), the [redirect URL](https://discordapp.com/developers/docs/topics/oauth2#bots), and
the location of your MongoDB instance. Then run the following:```bash
npm install
npm start
```Once the bot is started up, visit `localhost:PORT` (the port is set in the .env file) to invite him to your server.
## Official Plugins
Thanks to initial work by Papaya, adding new commands is done via plugins in the `plugins/` directory. For a good example, check out `plugins/ping-pong.js`.
| Plugin name | File name | About |
|---------------|-----------------|-------------------------------------------------|
| Customize | customize.js | Customizes the bot, e.g prefix or "now playing" |
| Help | help.js | Displays help messages |
| Plugin Helper | plugin-helper.js | Toggle or view status of various plugins |
| Ping Pong | ping-pong.js | Responds to !ping with PONG |