momoka-core-bot

    2.7.1 • Public • Published

    Momoka core

    This repository is the core of momoka crypto bot, momoka can use with varity of task and easy to implement with popular chatbot API

    List of supported Messenging API

    • Line
    • Facebook
    • Telegram

    Getting started

    Take a look on simple setup in ./example folder

    setup Bot config

      let config = {
        port: process.env.PORT, // your bot port
        botName: process.env.BOT_NAME, // your bot name (also use as invoke phase)
        mongoURL: process.env.MONGODB_URL, // db url for notification service (optional)
        domain: process.env.DOMAIN, // your bot endpoint (optional for notification service)
     
        // information for Messenging API
        facebook: {
          pageToken: process.env.FACEBOOK_PAGE_TOKEN
        },
        line: {
          id: process.env.LINE_CHANNEL_ID,
          secret: process.env.LINE_CHANNEL_SECRET,
          token: process.env.LINE_CHANNEL_TOKEN
        }
      }

    DEMO

    Checkout Momoka cryptobot for a demo

    Keywords

    none

    Install

    npm i momoka-core-bot

    DownloadsWeekly Downloads

    10

    Version

    2.7.1

    License

    MIT

    Unpacked Size

    650 kB

    Total Files

    97

    Last publish

    Collaborators

    • avatar