Skip to content

Community made Discord bot for the /r/webdev Discord

License

Notifications You must be signed in to change notification settings

r-webdev/discord-bot

Repository files navigation

Webster the Web Bot

webdev logo

Community-made bot for the /r/webdev+web_design Discord, 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.

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, and the location of your MongoDB instance. Then run the following:

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