Botkit chatbot not able to connect when embedded

Hi, I created a chatbot via botkit here: https://glitch.com/edit/#!/mr-pharmacist

The chatbot works fine on my computer if I run it from the command console. However, whenever I try embedding it on a website, it is stuck at “Disconnected… reconnecting!” which seems to be the default message if the chatbot is not connected to the server. Am new to coding and new to glitch, so I’m not sure what is the problem and how to rectify it. Anyone can help?

Hi and welcome to the community!

Well done with your bot so far, I’ve not worked with botkit before but it looks like you’ve made a great start.

How are you “embedding” it in another website? Are you embedding the whole Glitch or doing it some other way?