UNPKG

@defikitdotnet/x-ai-combat

Version:

XCombatAI - Social Media Engagement Template for the Agent Framework

13 lines 490 B
import { ClientBase } from "@defikitdotnet/client-twitter"; export class TwitterService { constructor(runtime, twitterConfig) { this.client = new ClientBase(runtime, twitterConfig); } async searchTweets(query, count, mode) { return this.client.twitterClient.searchTweets(query, count, mode); } async replyToTweet(tweetId, content) { return this.client.twitterClient.sendTweet(content, tweetId); } } //# sourceMappingURL=twitter-service.js.map