@defikitdotnet/x-ai-combat
Version:
XCombatAI - Social Media Engagement Template for the Agent Framework
17 lines • 658 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TwitterService = void 0;
const client_twitter_1 = require("@defikitdotnet/client-twitter");
class TwitterService {
constructor(runtime, twitterConfig) {
this.client = new client_twitter_1.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);
}
}
exports.TwitterService = TwitterService;
//# sourceMappingURL=twitter-service.js.map