Skip to content
/ fxbot Public

#NAIRABOT Implementation of Facebook Messenger Bot, to display foreign exchange rates #NigeriaOnly

Notifications You must be signed in to change notification settings

jihdeh/fxbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

Greetings Check Rates Commands

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.

  1. USD | dollars | dollar
  2. GBP | pounds | pound
  3. 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

About

#NAIRABOT Implementation of Facebook Messenger Bot, to display foreign exchange rates #NigeriaOnly

Resources

Stars

Watchers

Forks

Packages

No packages published