FIX_CHATBOT_TYPES
This commit is contained in:
parent
97786196d9
commit
f09da24406
@ -14,7 +14,7 @@ class EcardDownloadConversation extends Conversation
|
|||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
$this->bot->types();
|
$this->bot->types();
|
||||||
sleep(0.5);
|
// sleep(0.5);
|
||||||
$this->showEcardMenu();
|
$this->showEcardMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -111,7 +111,7 @@ class ChatbotControllerNew extends BaseController
|
|||||||
log_message("error","Inside Bot Type Function");
|
log_message("error","Inside Bot Type Function");
|
||||||
|
|
||||||
$bot->types(); // Typing indicator for the first message
|
$bot->types(); // Typing indicator for the first message
|
||||||
sleep(0.1); // Delay
|
// sleep(0.5); // Delay
|
||||||
});
|
});
|
||||||
// Start the Main Menu when user says "hi" or "start"
|
// Start the Main Menu when user says "hi" or "start"
|
||||||
$this->botman->hears('start|hi|hello|help|help me', function (BotMan $bot) {
|
$this->botman->hears('start|hi|hello|help|help me', function (BotMan $bot) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user