1
Fork 0
mirror of https://github.com/RGBCube/TwitterDiscordWebhook synced 2025-07-27 04:57:44 +00:00
This commit is contained in:
RGBCube 2023-01-15 22:56:37 +03:00 committed by GitHub
parent 0cd4b9fd33
commit 8d35508d78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ let stream = tClient.stream("statuses/filter", { follow: config.user_id });
console.log(`Fetching tweets from id '${config.user_id}'.`);
stream.on("connected", () =>
console.log("Successfully connected to Twitter!");
console.log("Successfully connected to Twitter!")
);
stream.on("tweet", twt => {
@ -38,11 +38,11 @@ stream.on("tweet", twt => {
});
stream.on("disconnect", () =>
console.log("Disconnected from twitter!");
console.log("Disconnected from twitter!")
);
stream.on("reconnect", () =>
console.log("Reconnecting to Twitter!");
console.log("Reconnecting to Twitter!")
);
process.on("uncaughtException", err =>