mirror of
https://github.com/RGBCube/TwitterDiscordWebhook
synced 2025-07-27 04:57:44 +00:00
Oops
This commit is contained in:
parent
0cd4b9fd33
commit
8d35508d78
1 changed files with 3 additions and 3 deletions
6
main.js
6
main.js
|
@ -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 =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue