From e917b3ef965d281b9a9d3e3cf574999ccd4d0d6a Mon Sep 17 00:00:00 2001 From: Eliezer Marcano <158097725+eliezermarcano@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:07:04 -0400 Subject: [PATCH 1/2] Update idle-optional.mdx require @bot-whatsapp--->@builderbot --- src/pages/en/showcases/idle-optional.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/en/showcases/idle-optional.mdx b/src/pages/en/showcases/idle-optional.mdx index 1f68796..fbeb97d 100644 --- a/src/pages/en/showcases/idle-optional.mdx +++ b/src/pages/en/showcases/idle-optional.mdx @@ -20,8 +20,8 @@ The inactivity of flows in our business logic can become a nuisance, that is why Create a file named `idle-custom.ts` and paste the following code: ```ts {{ title: 'idle-custom.ts' }} -import { EVENTS, addKeyword } from '@bot-whatsapp/bot' -import { BotContext, TFlow } from '@bot-whatsapp/bot/dist/types'; +import { EVENTS, addKeyword } from '@builderbot/bot' +import { BotContext, TFlow } from '@@builderbot/bot/dist/types'; // Object to store timers for each user const timers = {}; @@ -261,4 +261,4 @@ const main = async () => { } main() -``` \ No newline at end of file +``` From 29ceb81503c87fc49780e757871be365c85c79fb Mon Sep 17 00:00:00 2001 From: Eliezer Marcano <158097725+eliezermarcano@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:07:27 -0400 Subject: [PATCH 2/2] Update idle-optional.mdx --- src/pages/en/showcases/idle-optional.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/en/showcases/idle-optional.mdx b/src/pages/en/showcases/idle-optional.mdx index fbeb97d..b7e738e 100644 --- a/src/pages/en/showcases/idle-optional.mdx +++ b/src/pages/en/showcases/idle-optional.mdx @@ -21,7 +21,7 @@ Create a file named `idle-custom.ts` and paste the following code: ```ts {{ title: 'idle-custom.ts' }} import { EVENTS, addKeyword } from '@builderbot/bot' -import { BotContext, TFlow } from '@@builderbot/bot/dist/types'; +import { BotContext, TFlow } from '@builderbot/bot/dist/types'; // Object to store timers for each user const timers = {};