a bot that monitors a select list of twitter handles and submits a post into superstonk whenever one of them tweets
Passing the parameter '-t' enables the test-mode which doesn't create a reddit post.
You have to export the following environment variables:
export reddit_client_id="some-client-id"
export reddit_client_secret="random gibberish"
export reddit_username="half_dane"
export reddit_password="very_secret"
export twitter_api_key="twitter_api_key"
export twitter_api_secret="twitter_api_secret"
export twitter_api_bearer_token="twitter_api_bearer_token"
export twitter_api_access_token="twitter_api_access_token"
export twitter_api_access_token_secret="twitter_api_access_token_secret"
export target_subreddit="Superstonk or a test subreddit"
Afterwards execute
make
This sets up the venv for python and downloads the necessary dependencies before running the bot in test-mode
make fake_run # execute the bot in test mode.
make run # execute the bot in normal mode. Please note that this will create a new comment with each execution
make clean # clean up compile results and the venv