This pull request adds a basic version of a Command Handler class that incorporates a constructor and public methods to handle each of the allowed bot commands. This improves the main method's readability, and makes it easier to maintain in the future.
The Command Handler can be refactored or improved; I tried to make it as readable and useful as possible, but any suggestions are welcome.
This pull request also includes one new pattern at the .gitignore file, to ignore the pycache directory on git.
The pull request is submitted as a fix for issue #31
This pull request adds a basic version of a Command Handler class that incorporates a constructor and public methods to handle each of the allowed bot commands. This improves the main method's readability, and makes it easier to maintain in the future.
The Command Handler can be refactored or improved; I tried to make it as readable and useful as possible, but any suggestions are welcome.
This pull request also includes one new pattern at the .gitignore file, to ignore the pycache directory on git.
The pull request is submitted as a fix for issue #31