mirror of
https://github.com/RGBCube/TwitterDiscordWebhook
synced 2025-07-27 04:57:44 +00:00
Chore: Reformat
This commit is contained in:
parent
1b61f17f61
commit
5ffbba47d7
1 changed files with 3 additions and 6 deletions
9
main.js
9
main.js
|
@ -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}'.`);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue