This Pokedex bot is powered by Natural Language Processsing (NLP) with Recast.AI and can be connected to both Slack, Messenger or Kik.
- Use it straight away here
- Follow the following procedure to run it by yourself on your computer.
- Make your own simple version of it from A to Z with the tutorial.
- Log in to your Recast.AI account
- Go to Pokebot
- Click on the 'Fork the Bot' Button
- Then on your profile, choose your fresh forked Bot
- On the bottom, in the curl request is your precious Token
- Create an account on Microsoft Bot Framework
- Create a new Bot and follow the procedure. The callback Url you have to put will be explain later.
- During the process, you'll have to create a Microsoft App: keep your Secret and AppId, they will be used later
- Follow the differents steps for every channel you want to add.
./ngrok http 8080
this terminal is now used by ngrok and you can see your full Url that is required on microsoft bot Platform
- Clone this Repository
git clone https://github.com/hcherchi/PokeBot.git
- Fill the config.js with your Tokens
var tokens =
{
recast: 'Recast Token',
AppId: 'Application Id',
Secret: 'Your Microsoft Secret',
}
- install the dependencies
npm install
- run Pokebot
npm run build
npm run start
Your can :
-
Ask informations about a specific Pokemon
-
Ask resist and strengh about a specific Pokemon
-
Ask Stats about a specific Pokemon
-
Ask Moves a specific Pokemon can learn
-
Ask informations about a specific move
-
Ask about the family of a specific Pokemon
-
Ask for a random Pokemon of a certain type