Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Integrate botkit web with botkit CMS tool #62

@dhgokul

Description

@dhgokul

Please provide code snippet or steps to use botkit CMS tool in botkit web code. as of now we running botkit CMS from source

https://github.com/howdyai/botkit-cms

I am not able to use this code in bot.js (web)

controller.use(new BotkitCMSHelper({
uri: process.env.CMS_URI,
token: process.env.CMS_TOKEN
}));

// use the cms to test remote triggers
controller.on('message', async(bot, message) => {
await controller.plugins.cms.testTrigger(bot, message);
});

Any help appreciated !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions