feat: Implement my tweets trigger

This commit is contained in:
Faruk AYDIN
2022-09-01 13:34:22 +03:00
parent 770e115be9
commit 163629b990
4 changed files with 30 additions and 27 deletions

View File

@@ -1,15 +1,18 @@
import TwitterClient from './client';
import UserTweets from './triggers/user-tweets';
import SearchTweets from './triggers/search-tweets';
import MyTweets from './triggers/my-tweets';
export default class Triggers {
client: TwitterClient;
userTweets: UserTweets;
searchTweets: SearchTweets;
myTweets: MyTweets;
constructor(client: TwitterClient) {
this.client = client;
this.userTweets = new UserTweets(client);
this.searchTweets = new SearchTweets(client);
this.myTweets = new MyTweets(client);
}
}