First of all, amazing work done over the years. I remember when I first played I thought on the idea of automating but never got to it. Have tried this and has been really good. In order to contribute to this and pay it forward I have spent some time rearchitecting this to work as an actual package. No features have been changed only the way some parts work. There are more things that require cleaning up and fine-tuning, so I will spend some time on that as well. Things I have changed.
Library install simply requires pip install TWBot
Added workflows to manage pull requests as well as publishing to PyPi.
Added some test coverage as well as typing standard (currently test coverage and typing fail due to not being standardised but this can be worked on to get it to succeed over time)
Rearranged the file layout to work as a library
Considering it has been changed to be a library I have changed the way templates and cache get created in a project in order to have it created in the local user folder at startup
Cleaned up some code as well in the main bot class
This pull request require further changes to main repo:
First of all, amazing work done over the years. I remember when I first played I thought on the idea of automating but never got to it. Have tried this and has been really good. In order to contribute to this and pay it forward I have spent some time rearchitecting this to work as an actual package. No features have been changed only the way some parts work. There are more things that require cleaning up and fine-tuning, so I will spend some time on that as well. Things I have changed.
pip install TWBot
This pull request require further changes to main repo:
Some further work I will be doing