hopeful-covid-bot
所属分类:生物医药技术
开发工具:JavaScript
文件大小:9KB
下载次数:0
上传日期:2023-05-14 09:16:07
上 传 者:
sh-1993
说明: 充满希望的机器人,在推特上发布令人振奋的新冠肺炎新闻的小机器人
(hopeful-covid-bot, Little bot that tweets uplifting COVID-19 news)
文件列表:
CODE_OF_CONDUCT.md (3409, 2020-10-13)
bot.js (750, 2020-10-13)
config.js (237, 2020-10-13)
covid19-news.js (6786, 2020-10-13)
package.json (493, 2020-10-13)
public (0, 2020-10-13)
public\index.html (793, 2020-10-13)
public\styles.css (503, 2020-10-13)
server.js (525, 2020-10-13)
watch.json (289, 2020-10-13)
# Hopeful COVID-19 Twitter Bot
A little bot that tweets uplifting COVID-19 news and stories of solidarity every 12 hours.
You can [follow @hopefulcovidbot on Twitter](https://twitter.com/hopefulcovidbot).
¤– –¤ ’‰ §
## Contributing
> This project has a [Code of Conduct](./CODE_OF_CONDUCT.md) that _all_ contributors are expected to follow.
The best way to get involved is by submitting a story for the bot to tweet.
All of the stories are stored in [`covid19-news.js`](./covid19-news.js).
To add a story, create an object inside the `data` array with the following structure:
```javascript
{
text: "",
link: "",
source: ""
}
```
Here's what to include in each field...
* `text`: One-liner about the story with an emoji at the beginning. This could also be the article's headline.
Example: Oldest COVID-19 survivor celebrates his 104th birthday
* `link`: URL of the article or video.
Example: https://www.youtube.com/watch?v=1oiQD2aLBzg&feature=youtu.be
* `source`: Twitter handle of the news organization that reported this story.
Example: @Oregonian
Once you've updated the `covid19-news.js` file, [open a pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request) ’–
## Show your support
If you like this bot, please consider buying me a coffee so that I can continue to make wholesome things!
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/L4L41MXHP)
近期下载者:
相关文件:
收藏者: