Commit Graph

147 Commits (6e03ce3fdf8419b855b3552521f66e514cbe20b0)

Author SHA1 Message Date
Joey Hines 6e03ce3fdf updated readme 2018-09-12 17:21:35 -05:00
Joey Hines 4911358dc3 Limited the results of the inventory of a shop for the ?info command. 2018-09-12 16:47:40 -05:00
Joey Hines ede95f5d1f Few small details fixed 2018-09-12 16:29:28 -05:00
Joey Hines 3f477eefc5 The bot now uses the rewrite... like it should have this whole time... 2018-09-12 16:11:56 -05:00
Joey Hines 6e6ba39fab Log file path can now be set in the config and all errors are now logged. 2018-09-12 14:33:57 -05:00
Joey Hines bcaf65f9ee Added simplejson to install_requires list. 2018-09-12 13:39:09 -05:00
Joey Hines 6b8e3aeb0d
Merge pull request #8 from Etzelia/patch-6
Updated log to use an absolute path.
2018-09-12 12:36:23 -05:00
Etzelia 6a2d867a47
Updated log to use an absolute path. 2018-09-12 12:31:20 -05:00
Joey Hines 212e131b42
Merge pull request #7 from Etzelia/patch-5
Updated change_presence to new rewrite format.
2018-09-12 12:02:43 -05:00
Etzelia c9aa6dcde2
Updated change_presence to new rewrite format. 2018-09-12 12:01:44 -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 975648a926 Default status now controlled by config again 2018-08-30 12:31: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 2111bf8c8e fixed issue with ?register function. Also cleaned up code a bit 2018-08-30 11:46:20 -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 29942ac2dd
Merge pull request #6 from joeyahines/new_config
New config
2018-08-30 09:21:21 -05:00
Joey Hines fc9e7da9c4 Fixed import issue 2018-08-30 08:59:32 -05:00
Joey Hines d3998aa1cd Improved error handling for configs that don't exist. 2018-08-30 08:58:54 -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 175e95a3e6 Fixed issue with db relations post table name change 2018-08-29 13:49:48 -05:00
Joey Hines 3e7d721d2e Merge branch 'master' of https://github.com/joeyahines/Geoffrey 2018-08-29 13:38:45 -05:00
Joey Hines 6083e9d1c7 Updated error handling to better suited for when an error dosen't have an origina attr 2018-08-29 13:37:06 -05:00
Joey Hines 5e0e02989f
Merge pull request #5 from Etzelia/patch-4
Change table names
2018-08-29 11:35:37 -05:00
Etzelia ae47151237
Change table names 2018-08-29 11:27:49 -05:00
Joey Hines 143508c5c5
Merge pull request #4 from Etzelia/patch-3
Updates to change_presence
2018-08-29 11:26:30 -05:00
Etzelia e89c3cc766
Updated change_presence in mod command 2018-08-29 11:21:24 -05:00
Etzelia 8db428019f
Update change_presence
Discord.py updated their method to use an activity instead. Based on their example, this should work.
2018-08-29 11:20:00 -05:00
Joey Hines bc2ce78238
Merge pull request #3 from Etzelia/patch-2
Add cogs to setup.py
2018-08-29 11:13:48 -05:00
Etzelia 6c603a953e
Add cogs to setup.py
I forgot, this will also be needed to make a dist.
2018-08-29 11:03:50 -05:00
Joey Hines 72bd148531
Merge pull request #2 from Etzelia/patch-1
Create __init__.py
2018-08-29 10:59:21 -05:00
Etzelia f1d1283c6b
Create __init__.py
Added __init__ so Python understands that it's a module.
2018-08-29 10:57:32 -05:00
Joey Hines 4bf6e5bd53
Merge pull request #1 from Etzelia/patch-1
Fully qualified path name to cogs.
2018-08-29 10:53:06 -05:00
Etzelia 7b3d3362ff
Fully qualified path name to cogs.
This is an untested PR directly on GitHub.
This should allow Geoffrey to be installed as a module and still find his cogs (should be renamed sed tbh).
2018-08-29 10:49:32 -05:00
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