File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,14 @@ import { LensAgentClient } from "@elizaos/client-lens";
7
7
import { SlackClientInterface } from "@elizaos/client-slack" ;
8
8
import { TelegramClientInterface } from "@elizaos/client-telegram" ;
9
9
import { TwitterClientInterface } from "@elizaos/client-twitter" ;
10
+ import { paymentagent as defaultCharacter } from "./paymentagent" ;
10
11
import {
11
12
AgentRuntime ,
12
13
CacheManager ,
13
14
Character ,
14
15
Clients ,
15
16
DbCacheAdapter ,
16
- defaultCharacter ,
17
+ // defaultCharacter,
17
18
elizaLogger ,
18
19
FsCacheAdapter ,
19
20
IAgentRuntime ,
@@ -32,6 +33,7 @@ import { bootstrapPlugin } from "@elizaos/plugin-bootstrap";
32
33
import createGoatPlugin from "@elizaos/plugin-goat" ;
33
34
// import { intifacePlugin } from "@elizaos/plugin-intiface";
34
35
import { DirectClient } from "@elizaos/client-direct" ;
36
+ import { XmtpClientInterface } from "@elizaos/client-xmtp" ;
35
37
import { aptosPlugin } from "@elizaos/plugin-aptos" ;
36
38
import {
37
39
advancedTradePlugin ,
@@ -383,6 +385,11 @@ export async function initializeClients(
383
385
if ( telegramClient ) clients . telegram = telegramClient ;
384
386
}
385
387
388
+ if ( clientTypes . includes ( Clients . XMTP ) ) {
389
+ const xmtpClient = await XmtpClientInterface . start ( runtime ) ;
390
+ if ( xmtpClient ) clients . xmtp = xmtpClient ;
391
+ }
392
+
386
393
if ( clientTypes . includes ( Clients . TWITTER ) ) {
387
394
const twitterClient = await TwitterClientInterface . start ( runtime ) ;
388
395
You can’t perform that action at this time.
0 commit comments