Skip to content

Commit 7875865

Browse files
authored
Merge pull request #304 from o-on-x/main
telegram: start agent after client initialization
2 parents b84caac + 83152cc commit 7875865

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/client-telegram/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export const TelegramClientInterface: Client = {
66
start: async (runtime: IAgentRuntime) => {
77
const botToken = runtime.getSetting("TELEGRAM_BOT_TOKEN");
88
const tg = new TelegramClient(runtime, botToken);
9+
await tg.start();
910
elizaLogger.success(
1011
`✅ Telegram client successfully started for character ${runtime.character.name}`
1112
);

0 commit comments

Comments
 (0)