codeforequity-at / botium-bindings

The Selenium for Chatbots
http://www.botium.at
MIT License
108 stars 33 forks source link

[Botkit] trigger controller events #23

Open Naktibalda opened 7 years ago

Naktibalda commented 7 years ago

Sending text messages is only one part of dialogue. Equally important is events emitted by client side of connection.

For example I want to trigger hello event of Sockets connector to make bot send the greeting before user starts typing. And I want to send a custom message type from frontend to make my bot perform certain action.

#me
{
    "type": "payment",
    "card_number": "4444********1111",
    "cv2": "***",
    "expiry": "12/19"
}
codeforequity-at commented 6 years ago

This seems to be very specific to Botkit. Can you point me to some information about this "SocketBot" - I don't know what this is used for actually, and I cannot find documentation about it.

Naktibalda commented 6 years ago

It is a WebSockets connector for Botkit https://github.com/howdyai/botkit/issues/871

I am using it in my project, but I was able to test the bot by using facebookbot.