1
0
Fork 0
mirror of synced 2024-06-02 02:34:32 +12:00
Commit graph

62 commits

Author SHA1 Message Date
phxntxm efc1a3cf6d Database rewrite/User queue creation 2017-06-07 03:30:19 -05:00
Phxntxm 84c096df4b Ensure the bot.owner attribute has been set 2017-05-14 20:04:52 -05:00
Phxntxm 645bfef0b6 Use the actual application info to figure out owner 2017-05-11 19:43:43 -05:00
phxntxm e011b56873 PEP8 2017-04-19 22:18:26 -05:00
Phxntxm d485f64f25 Allow PM's to not be ignored 2017-04-16 20:58:20 -05:00
Phxntxm 58b8a0d125 Merge branch 'rewrite' of https://github.com/Phxntxm/Bonfire into rewrite 2017-04-13 18:42:36 -05:00
Phxntxm 46e28b81a1 Update to check if a message should be ignored 2017-04-13 18:30:14 -05:00
phxntxm ac8689881d Check if a message should be ignored 2017-04-11 00:22:11 -05:00
Phxntxm 38133ad8bb Add the ability to ignore channels/members 2017-04-10 20:26:28 -05:00
Phxntxm c2b20a9a29 Correct how to check if a channel is a DM Channel 2017-03-19 17:43:42 -05:00
Phxntxm 1e535a3842 Update checks to not create the deviant art table 2017-03-12 16:21:08 -05:00
Phxntxm 78a46b2482 Correct a couple issues with osu 2017-03-10 18:11:21 -06:00
Phxntxm 9e86472b64 First implementation for the new osu for rewrite 2017-03-10 18:07:39 -06:00
phxntxm 1800c9ab5c Corrected how to get content from cache 2017-03-08 02:38:26 -06:00
phxntxm 85e70c9a11 Removed unneeded clientsessions 2017-03-08 02:08:01 -06:00
phxntxm 6ed044c1cc Convert all comparisions to the db to string, as rethinkdb fails to parse ints as keys, or long ints in general 2017-03-08 01:55:22 -06:00
phxntxm 365501bef2 Added a possible exception to catch 2017-03-08 00:21:11 -06:00
phxntxm c6d6661204 Added a possible exception to catch 2017-03-08 00:20:23 -06:00
phxntxm 78187197b3 Added a possible exception to catch 2017-03-08 00:19:42 -06:00
phxntxm 67d8fedef8 Updated for rewrite: Batch 6 2017-03-07 22:28:30 -06:00
phxntxm 2b9d8a2dca Update for rewrite: Batch 5 2017-03-07 17:56:24 -06:00
phxntxm 16b9dc36c7 Add a check in case there are no custom permissions 2017-03-07 17:24:02 -06:00
phxntxm 82a26df045 Changed the check for a private channel to look for the type 2017-03-07 17:22:10 -06:00
phxntxm a05b768274 Updated for rewrite: Batch 2 2017-03-07 16:35:30 -06:00
Phxntxm 98c070a203 Added a method to check if the database is setup correctly 2017-02-25 15:45:39 -06:00
Phxntxm 775da3ae63 Returned true to allow commands in PM if they're registered as such 2016-10-06 20:16:24 -05:00
phxntxm 307bc575c4 Corrected custom_permissions checking 2016-10-05 13:43:49 -05:00
Phxntxm 0febc3520f Corrected how to get custom permission values 2016-09-23 16:28:33 -05:00
phxntxm 6bd265fc59 Used the internal cache instead of a fake 'cache' object for one object 2016-08-31 14:10:17 -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 60ed33fa15 Corrected how to call the coroutine in the check 2016-08-30 19:15:42 -05:00
phxntxm cad6fd4e14 Awaited the new save/get content methods 2016-08-30 19:11:25 -05:00
Phxntxm e101ba3120 Added perms attribute in the custom_perms predicate 2016-08-27 22:00:43 -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 08518e3beb Made updates to add a default dictionary/list if one was not found in the config file 2016-08-09 21:13:53 -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 2b4d331b1a Corrected issue where the comparison for custom permissions was comparing the wrong value 2016-07-30 21:16:59 -05:00
phxntxm 8e050c016e Updates to comply with PEP 8 2016-07-30 19:20:55 -05:00
Phxntxm 2728c7c6d7 Custom permissions has been changed to save the value instead 2016-07-30 06:58:01 -05:00
phxntxm 6e34c46df0 Set _perm to None as it couldn't be referenced before 2016-07-17 15:58:13 -05:00
phxntxm a6449de588 Set joke command for a valid permission 2016-07-17 15:54:31 -05:00
Phxntxm d9475412cf Changed custom permissions to send_message as the lowest 2016-07-17 15:23:38 -05:00
Phxntxm 0000b21054 Changed check for custom permissions, to look at the json file instead of MySQL 2016-07-17 12:45:24 -05:00
Phxntxm 5b5a22c03b Removed loop and used permissions_in method instead in this check 2016-07-16 15:26:15 -05:00
Phxntxm 0dfa188542 Fixed indentation issue in checks 2016-07-16 13:09:44 -05:00
Phxntxm 25c7114a85 Removed printing to a file that no longer exists, for testing 2016-07-16 06:48:19 -05:00
phxntxm 195f2ee608 Stopped checking for roles if in a PM 2016-07-15 18:34:10 -05:00
phxntxm 645f8fa85f Checking the actual permissions instead of the role 2016-07-15 18:22:53 -05:00
phxntxm 571a4295ec Adding test command to check automatic type hinting 2016-07-15 16:51:28 -05:00