#NAIRABOT =>
Previously FXBOT. Probably the first Messenger Bot built in Nigeria.
Foreign Exchange Bot. This application is just an experiment on the Facebook messenger bot
P.S: This bot hasn't been reviewed by facebook, so it will not work publicly, except you're a tester or developer on the bot app.
This bot only works for three currencies converting to naira by default.
- USD | dollars | dollar
- GBP | pounds | pound
- EUR | euros | euro
Commands
rates || rate => To view current rates
convert 50 euros => to convert 50 euros to naira(default)
convert 100 dollars to naira
convert 100 usd defaults to naira conversion.
wu rates => to get western union rates (return values are currently unstable)
Development
Create your environment variables
-- WEBHOOK_TOKEN
-- PAGE_ACCESS_TOKEN
$ npm install
$ npm run dev
To run test
$ env_vars npm run test
Advantage of the Facebook Messenger Bot?
It's good for your business page.
For documentation on the Messenger Bot
#TODO
Proper error logging Code modularity/clean up More Tests