Skip to content

Commit 9d9c30d

Browse files
committed
disable twitter search by default
1 parent f9d32e0 commit 9d9c30d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/client-twitter/src/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ class TwitterAllClient {
99
interaction: TwitterInteractionClient;
1010
constructor(runtime: IAgentRuntime) {
1111
this.post = new TwitterPostClient(runtime);
12-
this.search = new TwitterSearchClient(runtime);
12+
// this.search = new TwitterSearchClient(runtime); // don't start the search client by default
13+
// this searches topics from character file, but kind of violates consent of random users
14+
// burns your rate limit and can get your account banned
15+
// use at your own risk
1316
this.interaction = new TwitterInteractionClient(runtime);
1417
}
1518
}

0 commit comments

Comments
 (0)