use of listeners.TwitterListener in project KaellyBot by Kaysoro.
the class TwitterFinder method start.
public static void start() {
if (ClientConfig.TWITTER() != null) {
ClientConfig.TWITTER().addListener(new TwitterListener());
long[] twitterIDs = new long[Language.values().length];
int i = 0;
for (Language lg : Language.values()) twitterIDs[i++] = Long.parseLong(Translator.getLabel(lg, "twitter.id"));
ClientConfig.TWITTER().filter(new FilterQuery(0, twitterIDs, new String[] {}));
}
}
Aggregations