usage.mp4
The bot is currently deployed and accessible to anyone. You can test the bot out for yourself by adding it to your server through this invite link and messaging !commands
to it in PMs.
This bot utilises live BetFair Exchange betting data.
For this bot to function correctly I do collect some data from the users such as their last valid request. With this in mind I have created the means for the user to view their data !my_data
and further more delete it from storage !delete_data
.
This project is using Python 3.7.0
.
The list of dependencies for this project can be found in requirements.txt
and can be installed using pip install -r requirements.txt
. To build a new requirements.txt
delete the old version, navigate to directory and run pip freeze > requirements.txt
.
Running the application locally will throw the error shown below.
This will not occur when hosted live. It can be ignored but if you want to run it locally error free then comment out os.remove(barplot_path)
and os.remove(piechart_path)
.
Pushing to the master
branch will automatically cause the bot to refresh with the changes applied.
Ensure keys and user commands JSON are populated in connected Amazon S3 bucket.
Do not delete Procfile
and do not delete .ebextensions
both are responsible for the running of the program, that is avoiding timeouts and restarting the instance daily (avoiding errors) accordingly.
As seen throughout the scripts, keys and secrets are all stored as environment variables in AWS.