No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
scripts
.gitignore
Procfile
README.md
external-scripts.json
package-lock.json
package.json

README.md

js-dt-12-project-1

The Js-dt-12-1 hears and responds to certain words and questions.

  1. Js-dt-12-1 bot hears "Hi!" and answers with "Hey!"
  2. Js-dt-12-1 bot answers the question "What is your favorite number?" when someone directly asks it with an @.
  3. Js-dt-12-1 bot responds to "Hi! Give me your money! I'm (name)" based on whose name it is.
  4. Js-dt-12-1 bot hears "healthy food" and answers with one.

For these commands, I used hear, respond, send and reply along with the random element Math.floor(Math.random()) generator.