Skip to content

Commit

Permalink
Merge pull request #304 from o-on-x/main
Browse files Browse the repository at this point in the history
telegram: start agent after client initialization
  • Loading branch information
o-on-x authored Nov 14, 2024
2 parents b84caac + 83152cc commit 7875865
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/client-telegram/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
);
Expand Down

0 comments on commit 7875865

Please sign in to comment.