Commit Graph

193 Commits (7a3eb8d112d5c3d97bbd81588f3a81e7104dbaa4)

Author SHA1 Message Date
Joey Hines f82aac5f56 Also moved cogs into their own folder 2018-08-11 16:08:16 -05:00
Joey Hines 48e39b18d9 Added test cases for new admin commands 2018-08-11 14:20:27 -05:00
Joey Hines 51bf3846c5 Updated help messages for admin commands 2018-08-11 13:46:03 -05:00
Joey Hines fe30c9405f Added admin commands for managing the db 2018-08-11 11:20:40 -05:00
Joey Hines 5cb68fc208 Added except to bot.run to catch errors at closing 2018-08-10 18:06:42 -05:00
Joey Hines dac4516285 Added ?me command 2018-08-10 18:03:30 -05:00
Joey Hines cc0ea90241 removed awaits from non-async commands 2018-08-09 21:51:46 -05:00
Joey Hines 95f32b633a added dynmap_url to config 2018-08-09 21:44:50 -05:00
Joey Hines 73844c0c8f Refactored how config data is handled and added new stress tests. 2018-08-09 21:25:55 -05:00
Joey Hines 311b94a1c8 Improved error handling for MC username lookups 2018-08-05 17:51:55 -05:00
Joey Hines ccde543308 Split up the commands into cogs to organize things better 2018-08-05 17:20:37 -05:00
Joey Hines 4b51951b65 Fixed several small bugs in the discord commands 2018-08-05 09:08:20 -05:00
Joey Hines 796baaf3a6 add_tunnel now needs a location 2018-07-31 20:44:06 -05:00
Joey Hines a1aca02e27 fixed strings in delete_item 2018-07-31 20:23:35 -05:00
Joey Hines 14191e87fe added delete_item command 2018-07-31 20:16:14 -05:00
Joey Hines f8c4009f19 fixed error handling for edit commands 2018-07-31 19:31:21 -05:00
Joey Hines 5b0027668b Added edit commands for locations 2018-07-31 19:22:17 -05:00
Joey Hines 87ca99f146 Fixed formating in ?find and ?tunnel 2018-07-29 10:50:24 -05:00
Joey Hines c25b2dad33 Queries are now limited and all commands have a cooldown. 2018-07-29 09:29:27 -05:00
Joey Hines 04ccf94d1a addtunnel now can't update locations with existing tunnels. Also several other fixes 2018-07-29 08:59:11 -05:00
Joey Hines d0e6c02feb addtunnel now can't update locations with existing tunnels. Also several other fixes 2018-07-29 08:59:00 -05:00
Joey Hines b6ccaeac6e Fixed some commands allowing empty names 2018-07-27 19:02:41 -05:00
Joey Hines 91999322ec Added a new command for finding tunnels and fixed a few issues. 2018-07-23 20:12:23 -05:00
Joey Hines 5dbbcd69e0 MC Usernames are now updated every 10 minutes 2018-07-22 21:51:22 -05:00
Joey Hines 11266bf498 register now checks if a player is in the database 2018-07-22 20:37:06 -05:00
Joey Hines 847e33ed6e find command now shows tunnels 2018-07-22 20:03:24 -05:00
Joey Hines cc1324c5bb Fixed error handling for tunnels and dims 2018-07-22 19:26:21 -05:00
Joey Hines a13e1c9af2 Fixed issue in sending error messages. 2018-07-22 19:01:49 -05:00
Joey Hines 93827f5f90 Refactored to handle sessions cleaner. Command logic now is in Commands.py. This should make adding new commands easier and keep logic the same in MC. 2018-07-22 18:56:07 -05:00
Joey Hines 77814ce42d Split DatabaseModels.py file ahead of refactoring 2018-07-22 07:52:49 -05:00
Joey Hines 6e758de772 Refactored session handling to avoid disconnect issues 2018-07-21 20:44:43 -05:00
Joey Hines 76df264060 Fixed dynmap link issue 2018-07-21 17:27:20 -05:00
Joey Hines 2dd1df3b09 info now handles spaces in names 2018-07-21 17:25:18 -05:00
Joey Hines b715d9e0b9 MySQL fixed session issues 2018-07-21 17:22:28 -05:00
Joey Hines 52849d7a67 Fixed MySQL disconect issue and added dynmap link to locations 2018-07-21 17:06:13 -05:00
Joey Hines 8a24303059 Fixed engine args 2018-07-21 15:29:56 -05:00
Joey Hines e101db7d7d Added pool_recyle to eng_args 2018-07-21 15:29:35 -05:00
Joey Hines 67d5c8c548 Added support for spaces in location names 2018-07-21 15:08:26 -05:00
Joey Hines 8bd65529f2 Fixed unicode support 2018-07-21 14:47:40 -05:00
Joey Hines 866cc56a33 findaround: fixed dimension selection 2018-07-21 13:49:10 -05:00
Joey Hines 4c0d8d2384 Switched SQL backend to MySQL 2018-07-21 13:28:31 -05:00
Joey Hines c821491cd4 Added ORM relations for deleting objects 2018-07-21 09:18:01 -05:00
Joey Hines ba5da981b4 Removed y coord from all commands and fixed test cases to match new changes 2018-07-21 00:45:52 -05:00
Joey Hines fc95d3d986 Search results now show less info on shops to avoid spam 2018-07-21 00:06:00 -05:00
Joey Hines 9a20e0155e find command now searches more than just players and adjusted string formating 2018-07-20 23:44:41 -05:00
Joey Hines 2175e025e5 Fixed issue in info error handling 2018-07-20 22:12:43 -05:00
Joey Hines 48a1905017 Improved error handling. 2018-07-20 22:10:13 -05:00
Joey Hines 530409b1c5 Improved some wording in some strings and formating 2018-07-20 21:11:50 -05:00
Joey Hines 625e4dc796 Added commands and interface support for the new shops. Also changed how linked objects handle printing. 2018-07-20 20:50:24 -05:00
Joey Hines 29673bdfe8 Fixed addshop 2018-07-19 22:05:23 -05:00