botkit say sending empty message

Created on 31 Jan 2018  路  4Comments  路  Source: howdyai/botkit

https://github.com/howdyai/botkit/blob/9cf9bd0dcd193807312572ec9943d728b4e3bf5e/lib/CoreBot.js#L1363

After migrating to this latest version, we are seeing empty message is being passed and it looks like the platform_message is never getting set. Please advise.

bug help wanted

Most helpful comment

All Bots extends CoreBot, do you use builtin Bot or a custom made one?

If you have implemented your own custom Bot, the you have to add format middleware to it.
Documentation here: https://github.com/howdyai/botkit/blob/master/docs/readme-pipeline.md#format

All 4 comments

We migrated from 0.5.4 and using a bot that extended from CoreBot ../botkit/lib/CoreBot.js

All Bots extends CoreBot, do you use builtin Bot or a custom made one?

If you have implemented your own custom Bot, the you have to add format middleware to it.
Documentation here: https://github.com/howdyai/botkit/blob/master/docs/readme-pipeline.md#format

Yes, we have a custom bot. Thanks for the clarification.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GautierT picture GautierT  路  3Comments

seriousssam picture seriousssam  路  3Comments

imjul1an picture imjul1an  路  3Comments

simpixelated picture simpixelated  路  3Comments

iworkforthem picture iworkforthem  路  3Comments