1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00
Commit graph

105 commits

Author SHA1 Message Date
phxntxm fa8231eb71 Added another check in case cached object failed 2016-08-31 23:46:22 -05:00
phxntxm 3b66f780a9 Added another check in case cached object failed 2016-08-31 23:44:45 -05:00
phxntxm 34bc196c21 Removed __repr__ as it's not used 2016-08-31 23:41:43 -05:00
phxntxm 737c97d3db Correctly closed the rethinkdb connection 2016-08-31 22:58:41 -05:00
phxntxm 2880306764 Replaced the string key with the actual variable... 2016-08-31 22:51:21 -05:00
phxntxm 5cdce2cad7 Reimplemented cache, changed up the checking for it for rare odd cases 2016-08-31 22:24:21 -05:00
phxntxm d8b2fcb3a2 Added the ability to get server/member count across all shards 2016-08-31 19:07:38 -05:00
phxntxm c7e8c5c71c Corrected the command_prefix method 2016-08-31 17:53:33 -05:00
phxntxm 644436f9a1 Corrected the config file, while not caching 2016-08-31 17:50:40 -05:00
phxntxm b689bb2a95 Disabled cache object, as the logic behind it and sharding does not work 2016-08-31 16:45:00 -05:00
phxntxm f7bdf39845 Ensured uptime is valid by making it first 2016-08-31 16:19:39 -05:00
phxntxm 2f94ed9459 Corrected what to set values to by default 2016-08-31 15:28:52 -05:00
phxntxm f048a1b27f Added a username and password to the db connection 2016-08-31 15:21:52 -05:00
phxntxm c2e1ee17d5 Removed ssl connection while it's still being worked on by rethinkdb devs 2016-08-31 15:06:21 -05:00
phxntxm 16aa8954cb Matched up all mismatched 'prefix' and 'prefixes' 2016-08-31 14:17:33 -05:00
phxntxm 0f21cf5155 Corrected what was checked in our prefix method 2016-08-31 14:13:09 -05:00
phxntxm e863a0e4e0 Implemented cache; added a custom prefix method ability 2016-08-31 14:09:11 -05:00
phxntxm 65d4b143b3 Ensured that the connection closes when saving and getting data 2016-08-30 21:19:19 -05:00
phxntxm 6f9acb0d7a Changed up what was returned on invalid searches 2016-08-30 20:48:30 -05:00
phxntxm 0dcd900585 Created a class, and an object of that class to cache custom permissions, and only query for new permissions when they are updated 2016-08-30 19:44:24 -05:00
phxntxm dbfff6e01d Corrected the logic when nothing is found in the database; changed some exceptions 2016-08-30 19:23:07 -05:00
phxntxm 36c839a276 Finished up saving/loading content to rethinkdb 2016-08-30 18:59:55 -05:00
phxntxm 2643dc6d80 Changed saving method to rethinkdb instead of config file 2016-08-30 17:33:37 -05:00
phxntxm b9cb3bf603 Printing on status changes; as the 2nd bot seems to not connect 2016-08-30 14:51:04 -05:00
phxntxm d35b990b26 Yaml was renamed? 2016-08-30 14:28:58 -05:00
phxntxm 43185dc031 Added sharding ability, first implementation of new saving method 2016-08-30 14:21:17 -05:00
phxntxm 88426b824e Created initial steam cog 2016-08-19 01:48:15 -05:00
Phxntxm 8f7a3e58cd Added support for carbonitex posting 2016-08-18 20:56:41 -05:00
Phxntxm f26e04b1a4 Mass update: Added comments to most of the project. A couple small tweaks made as well 2016-08-15 22:30:52 -05:00
Phxntxm 37dbacf3fe Mass update: removed all cases LikeThis and replaced them like_this (This for you Fuyu) 2016-08-14 21:10:12 -05:00
Phxntxm c61838886a Changed up config, to error out in case incorrect data was provided 2016-08-13 22:52:55 -05:00
Phxntxm d14df8e3ea Corrected how to create the config.json file if it does not exist 2016-08-12 14:52:44 -05:00
Phxntxm c95bdcbd96 Changed up saving content, as this sometimes caused the config file to be completely erased 2016-08-12 14:38:59 -05:00
Phxntxm a65c1b8f9c Using relative pathing; also adding failure messages upon attempting to run the bot without a valid config.yml file 2016-08-11 21:14:30 -05:00
Phxntxm 3d83374424 Added the abilty to have multiple server ID's, if that ever happens 2016-08-04 09:30:34 -05:00
Phxntxm 6e163eb080 Removed printing of invalid commands 2016-08-01 08:06:11 -05:00
Phxntxm 2807f91a7b Returned True if succesful, was not returning causing all my commands to think saving content was failing... 2016-07-18 15:02:41 -05:00
Phxntxm 706dedb980 Changed saving method to check if json can dump the content, before truncating the file 2016-07-18 06:53:32 -05:00
phxntxm a9267f106e Git rid of useless references, and updated for pep8 2016-07-17 16:10:12 -05:00
Phxntxm 1c20ef2754 Printing full traceback for error 2016-07-17 13:20:44 -05:00
Phxntxm 7ad223418e Truncated file to fix issue when new content is less than old content 2016-07-17 12:12:57 -05:00
Phxntxm a2fe435323 Truncated file to fix issue when new content is less than old content 2016-07-17 12:11:47 -05:00
Phxntxm e51251d435 Changed writing method to file 2016-07-17 11:34:49 -05:00
Phxntxm 4d69756b2f Changed writing method to file 2016-07-17 11:33:28 -05:00
Phxntxm 59594a54d9 Changed all references to MySQL saving content, to json content 2016-07-17 10:17:47 -05:00
Phxntxm 9a880d343c Added new method for saving content as a json file instead of mysql 2016-07-17 06:49:05 -05:00
Phxntxm c849dd2bf6 Added saveContent method 2016-07-16 15:26:30 -05:00
Phxntxm d97431a4a8 Fixed syntax error 2016-07-15 11:13:30 -05:00
phxntxm c44fcfcbbf Removed checks, am checking this in the command now. 2016-07-10 16:57:52 -05:00
Phxntxm 28b47d2a13 Properly closed MySQL connections 2016-07-09 11:33:48 -05:00
Phxntxm 1752c5d9f5 Setup derpi link to search the database instead of the old configuration file. 2016-07-09 11:25:28 -05:00
Phxntxm 65e25b52ff Changed the MySQl connection to disconnect and reconnect on each query, to avoid timeouts 2016-07-09 11:02:33 -05:00
Phxntxm 4a801f844e Fixed missing : 2016-07-09 08:25:43 -05:00
Phxntxm c00b7d446d Added universal exception handling, removed most exception handling from the commands themselves 2016-07-09 07:57:25 -05:00
phxntxm 2bde1ce936 Complete modification to use cogs 2016-07-08 20:27:19 -05:00