Need Package Maintenance

    @botonic/plugin-dashbot

    0.20.0 • Public • Published

    Botonic Plugin Dashbot

    What Does This Plugin Do?

    Dashbot, as a bot analytics platform, enables you to increase engagement, acquisition, and retention through actionable data.

    Setup

    1. Install the plugin from npm.
    npm install --save @botonic/plugin-dashbot
    
    1. Add it to the src/plugins.js file.
    {
        id: 'dashbot',
        resolve: require("@botonic/plugin-dashbot"),
        options: {
          apiKey: 'YOUR_DASHBOT_APIKEY' <!-- pragma: allowlist secret-->
        }
    }
    

    Use

    You can then use it in your actions.

    static async botonicInit({ input, session, plugins }) {
        // Integration with dashbot for incoming messages
        let { dashbot } = plugins
        let userId = session.user.id
        let text = input.data
        await dashbot.logIncoming({ input, session, userId, text })
    
        return { input }
    }
    

    Install

    npm i @botonic/plugin-dashbot

    DownloadsWeekly Downloads

    15

    Version

    0.20.0

    License

    MIT

    Unpacked Size

    2.1 kB

    Total Files

    3

    Last publish

    Collaborators

    • ahubstre
    • manuelfidalgo
    • ericmarcos
    • khaeshah
    • mrabat
    • elozano
    • ainavendrell