Commit Graph

10 Commits (57ec4830cf3dfd4f0f8c2f36e0c5a714b20a199e)

Author SHA1 Message Date
Joey Hines 57ec4830cf More clearly defined the difference between the interface and commands layer. Interface handles getting certain info from the database while commands formats that data. 2018-09-20 12:25:42 -05:00
Joey Hines 63970bdbef Updated DatabaseInterface unit tests to have better code coverage. 2018-09-19 15:41:32 -05:00
Joey Hines 8373bc0c31 register has a lot less duplicated code from add_player() in DatabaseInterface. Might have been part of the problem. 2018-09-16 13:34:33 -05:00
Joey Hines 23c9ecc72a Removed the catch all for exceptions in add_object. Exceptions will now raise out of that function. 2018-09-13 14:00:59 -05:00
Joey Hines af08269f56 Fixed error handling for bad username lookups and updated tests. 2018-09-10 09:24:15 -05:00
Joey Hines 0d26818fa6 Refactored DatabaseInterface to move all location addition and searching into one set of functions. The type of location is then specified as a parameter. 2018-08-30 12:27:05 -05:00
Joey Hines 6748f01208 Refactored bot.py to wrap Geoffrey in his own class. This will be better for the future for expansions and allowed for cleaning up a lot of the config mess. The Config now all features back except for the named tunnel directions which are removed for now... 2018-08-30 11:34:19 -05:00
Joey Hines 89bf3b0ba7 Refactored how the config file is handled. The location can now be passed in as an arg in start_bot... This broke a few features of the config 2018-08-29 16:10:35 -05:00
Joey Hines 0801a8738e Updated tests to include new tunnel config changes 2018-08-26 17:47:33 -05:00
Joey Hines c7eed7fe71 Added setup.py and reorganized the project. 2018-08-20 17:54:14 -05:00