Commit Graph

314 Commits (aa9505a04df013859c2417caa201918eee6b6743)

Author SHA1 Message Date
Joey Hines 67640948d8 Moved logging to bot.py and fixed config issues 2018-08-29 10:08:21 -05:00
Joey Hines 7cb259e65f Added back in DatabaseModels.py... 2018-08-27 20:32:58 -05:00
Joey Hines 0801a8738e Updated tests to include new tunnel config changes 2018-08-26 17:47:33 -05:00
Joey Hines 50974eeefe Tunnel names can now be configured in the .ini file 2018-08-25 12:30:53 -05:00
Joey Hines 0e8101d64c Config now expected next to geoffrey.py and console logging fixed. 2018-08-23 14:44:28 -05:00
Joey Hines 330fa16970 Fixed imports for modules 2018-08-21 15:36:51 -05:00
Joey Hines 1b1ff8ffbc Added missing req 2018-08-20 22:16:16 -05:00
Joey Hines 123f753258 Removed entry points for now... 2018-08-20 17:55:05 -05:00
Joey Hines c7eed7fe71 Added setup.py and reorganized the project. 2018-08-20 17:54:14 -05:00
Joey Hines 7532912d21 Improved error handling for MySQL connection issues and added support to PM users on certain errors 2018-08-19 11:37:59 -05:00
Joey Hines f801016a5b Added error handling for connection errors to the MySQL server 2018-08-19 09:57:19 -05:00
Joey Hines c82178604e Updated logging levels 2018-08-19 09:46:17 -05:00
Joey Hines 8c3e1913b7 Updated help messages. 2018-08-18 12:01:59 -05:00
Joey Hines 65f512304a Updated string formating 2018-08-18 09:31:43 -05:00
Joey Hines 827c501999 Added support for a list of bot_mod ranks 2018-08-14 18:56:07 -05:00
Joey Hines 7699d00fa9 Code cleanup and logging improvements 2018-08-12 14:00:04 -05:00
Joey Hines 6662c018a6 Added logging for commands being run and all console output is now handled through logger. 2018-08-12 10:32:35 -05:00
Joey Hines 59c1078426 Added logging to bot.py 2018-08-11 22:21:21 -05:00
Joey Hines c5d69fc9e8 Added missingspecial names ssection to default config 2018-08-11 19:11:35 -05:00
Joey Hines 9723fa6b9a Cleaned up code and added name exceptions to the config files 2018-08-11 18:02:50 -05:00
Joey Hines 1474cc54ce sqlalchemy echo disabled, info now in log 2018-08-11 16:13:14 -05:00
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