Skip to content

steadily-worked/COVID19-today-slackbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID19-today-slackbot

Slackbot that informs COVID-19 confirmed cases today
Production process in here

Change log

2021.01.05

  • Slackbot was born
  • It helps users to know how many COVID-19 confirmed cases have ocurred today

2021.01.25

  • Add image showing the trend of COVID-19 confirmation and cure using PyAutoGUI and Selenium

Getting Started

  • Add your Slackbot in here
  • Copy your API token
  • Paste it in slackbot.py

token

Install

pip install slacker
pip install bs4
pip install selenium
pip install pyautogui

Running the tests

download chromedriver

  • in here (before downloading, check your Google Chrome version)

setting driver & image path

  • Enter the path where chromedriver is saved in Line 37.
  • Then, enter the path to save screenshots taken by PyAutoGUI in Line 44.

write down

  • the bot token in Line 8
  • the Slack channel that the bot will send messages to in Line 14 instead of #bots-playground

install virtualenv

python -m venv "your virtualenv name"

run virtualenv

source "your virtualenv name"/bin/activate

run slackbot.py

python3 slackbot.py

Result

스크린샷 2021-02-03 오후 2 49 25

Releases

No releases published

Packages

No packages published

Languages