From 83152cc2ed04a3ff4252842f10500856ad2837b2 Mon Sep 17 00:00:00 2001 From: Ophiuchus Date: Wed, 13 Nov 2024 18:37:43 -0600 Subject: [PATCH] tg.start() is added; agents starts --- packages/client-telegram/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client-telegram/src/index.ts b/packages/client-telegram/src/index.ts index ccbd713886..b702c7e2d5 100644 --- a/packages/client-telegram/src/index.ts +++ b/packages/client-telegram/src/index.ts @@ -6,6 +6,7 @@ export const TelegramClientInterface: Client = { start: async (runtime: IAgentRuntime) => { const botToken = runtime.getSetting("TELEGRAM_BOT_TOKEN"); const tg = new TelegramClient(runtime, botToken); + await tg.start(); elizaLogger.success( `✅ Telegram client successfully started for character ${runtime.character.name}` );