Open rlogiacco opened 6 years ago
When I first create my bot I wanted to use this repo too but the examples never did work. So I ended up using the official wit.ai node library to implement wit integration myself, honestly I am not sure if there is anyone still looking at this repo. Doesn't seem to be updated
@QzSG do you have an example of the implementation that you created ?
The Telegraf object doesn't seem to have the function referenced in the example below, I overcome this problem by adding
telegraf-session-local
and creating a LocalSession instance.https://github.com/telegraf/telegraf-wit/blob/93d8d89ba87039ddc8d73d41c3fb1858121004b2/examples/wit-bot.js#L8