1
Fork 0
mirror of https://github.com/RGBCube/TwitterDiscordWebhook synced 2025-07-27 04:57:44 +00:00

Chore: Reformat

This commit is contained in:
RGBCube 2023-01-27 15:19:51 -05:00
parent 1b61f17f61
commit 5ffbba47d7

View file

@ -16,12 +16,9 @@ const tClient = new Twitter({
});
tClient.get("account/verify_credentials", { skip_status: true })
.catch(err =>
console.error(`Unable to login due to the following error:\n${err}`)
)
.then(res =>
console.info(`Logged in as '${res.data.name}'!`)
);
.catch(err => console.error(`Unable to login due to the following error:\n${err}`))
.then(res => console.info(`Logged in as '${res.data.name}'!`));
console.info(`Fetching tweets from ID '${config.followingUserId}'.`);