Live demo https://pexilo.github.io/Chatbots/
This project involves creating three interactive bots capable of responding to various commands. Each bot has specific functionalities:
- Vacations Bot: Provides information on holidays in France.
- Player Stats Bot: Offers game statistics for platforms like Steam, Minecraft, and Xbox.
- YesNo Bot: Answers questions with "yes" or "no".
Note that this project and its features are written in French 🥖
https://docs.google.com/document/d/1heTQDwTp74eNlSB4l0NSd57VYKOk4R0BBSaOII8tj8k
-
Clone the repository:
git clone https://github.com/Pexilo/chatbots.git cd chatbots
-
Install the dependencies:
npm install
Run the application:
npm run dev
- hello: Bot introduction.
- help: List of available commands.
- next: Upcoming holidays.
- past: Past holidays.
- all: All holidays.
- hello: Bot introduction.
- help: List of available commands.
- steam 'playerId': Steam player statistics.
- minecraft 'playerId': Minecraft player statistics.
- xbox 'playerId': Xbox player statistics.
- hello: Bot introduction.
- help: List of available commands.
- ask 'your phrase': Answers a question with "yes" or "no".
- random: Random "yes" or "no" answer.
- guess 'yes'/'no': Guess if the answer is "yes" or "no".
Fetches holidays from the Nager.Date API.
Fetches player statistics from PlayerDB.
Answers "yes" or "no" from the YesNo API.
Made with ❤️ by Pexilo