Dependencies: beautifulsoup4, slackclient
The packages can be installed with PIP by running "pip install beautifulsoup4" and "pip install slackclient".
To run:
-
Download the repository as a .zip file.
-
Extract the files.
-
Rename "settings_example.py" to "sample.py" and edit the file to contain your Slack API token, the channel you want to post to, the username you want your bot to post with, the filename you want to use for the event cache (your choice), and the desired time between scrapes (in seconds).
-
Open the command prompt.
-
"cd" into the FRCSlackbot folder.
-
Run "python main.py"
-
A KeyboardInterrupt can be used to terminate the program. In the command line, this is CTRL + C on Windows/Linux and Command + C on Mac. Alternatively, "python.exe" can be terminated via the Task Manager.