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

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

Awesome Lists containing this project

README

        

# Webster the Web Bot

webdev logo

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 |