A simple Discord bot to welcome new users to a Discord server. As well as expose basic commands users can enjoy.
Example command that responds with a random dad joke from icanhazdadjoke.com
>joke
-
Clone the project down and open with an IDE/Editor
-
Create a
.env
file and get a discord API token to store in it. -
Save the
.env
file with your updated Discord token.DISCORD_TOKEN='super-secret-one-time-token' CLIENT_ID='' CAT_API_KEY=''
-
Install any dependencies using NPM
npm i
-
Start the bot up using any of the following commands.
node index.js
- Runs theindex.js
file directly usingnode
npm start
- Runs theindex.js
filenpm run dev
- Start the dev server withnodemon
Vincent Shury, Full-stack web developer
- vshury.com Portfolio
- GitHub Profile