This is a discord bot running on node.js, the bot has a plethera of features for those who need dad jokes in their discord server.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to add this bot to your discord bot.
What things you need to install the software and how to install them
- Node.js
- A discord application and bot, See refernce, I know it's for discord.py and not discord.js
A step by step series of examples that tell you how to get a development enviornment running
Clone the repository
$ git clone https://github.com/Mpult/Dad-Bot.git
Install modules
$ npm install
Create .env file in the root directory with following content
BOTTOKEN=Bot token from discord development portal
Starting the bot is done with the following command:
$ node index.js
Here is a list of commands/ features the bot has. (Commands are not case sensitive)
Command | Description |
---|---|
?Help | Shows list of comands |
?DadJoke | Shows a random dad-joke |
?Flachwitz | Shows a random german dad-joke (AKA: Flachwitz) |
?Codejoke or ?Codingjoke | Shows a random programming joke |
Any message with i'm in it | Makes the classic "Hi hungry i'm dad!" |
- Node.js - The JavaScript framework used
- Discord.js - The Discord module
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
All notable changes to this project will be documented in the changelog.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Max - Initial work - Mpult
See also the list of contributors who participated in this project.
This project is licenced under the CC0-1.0 License licence