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

197 commits

Author SHA1 Message Date
phxntxm 16aa8954cb Matched up all mismatched 'prefix' and 'prefixes' 2016-08-31 14:17:33 -05:00
phxntxm 181fbec47e Added missing awaits 2016-08-31 14:15:38 -05:00
phxntxm ce7151612e Added a custom prefix command 2016-08-31 14:10:33 -05:00
phxntxm ffbd1ee431 Made sure that rules is always a list if invalid 2016-08-30 21:57:23 -05:00
phxntxm d522726cc7 Corrected nsfw channels and rules 2016-08-30 21:54:32 -05:00
phxntxm 138021bd90 Changed nsfw and rules so that they can are dictionaries 2016-08-30 21:48:37 -05:00
phxntxm 6f9acb0d7a Changed up what was returned on invalid searches 2016-08-30 20:48:30 -05:00
phxntxm cad6fd4e14 Awaited the new save/get content methods 2016-08-30 19:11:25 -05:00
phxntxm 5b8fc913b8 PEP8 changes 2016-08-30 17:33:46 -05:00
Phxntxm 0e785ef9b0 Changed up what permissions are required for role management 2016-08-28 15:00:34 -05:00
Phxntxm 402ddb061c Corrected what exception would be hit if custom_perms is not found 2016-08-28 14:40:34 -05:00
Phxntxm 04472c522e Added the ability to check default permissions 2016-08-28 14:39:28 -05:00
Phxntxm 3afe3c1db9 Added a check for purging/pruning to see if the bot has permissions to do so 2016-08-27 14:36:07 -05:00
phxntxm b082ce5f04 Removed the change Pycharm made for pep8 which caused the bot not to run, as the directoy was detected incorrectly 2016-08-26 08:23:02 -05:00
phxntxm 217407fbaa Removed the deleted status message after a minute 2016-08-26 00:12:54 -05:00
phxntxm 0173ff0924 Printed out the amount of messages removed when pruning 2016-08-25 23:56:16 -05:00
phxntxm 3b3974eb0b Added a prune command 2016-08-25 23:50:09 -05:00
Phxntxm 48ccf886b5 Handled error when a the bot does not have permissions to delete a message 2016-08-21 20:52:27 -05:00
Phxntxm 5da0830b5c Added a zero-width space to the say command, to avoid possible abuse by other bots 2016-08-20 18:54:51 -05:00
phxntxm c7be4bb7b2 Corrected error where an extra attempt to remove a rule was done 2016-08-20 11:48:02 -05:00
phxntxm ca575cedab Corrected error where server_alerts was not saved 2016-08-20 00:28:17 -05:00
phxntxm 8919b1210c Changed directory before importing config file, to stop it from erroring out when looking for required files 2016-08-17 15:46:20 -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 28019bd250 Corrected issue where aliased commands would fail to check 2016-08-14 13:53:45 -05:00
Phxntxm 3c2edcca68 Removed the test command 2016-08-13 20:44:32 -05:00
Phxntxm 6794eefbc2 Adding a test command to test message matching 2016-08-13 20:43:35 -05:00
phxntxm f8b767eb1c Changes made for pep8 2016-08-12 12:37:29 -05:00
Phxntxm dee1b616f2 Changed which endpoint was checked, so there's no need to make an http request for every user to check if they are online 2016-08-11 14:33:19 -05:00
Phxntxm 0f1e566b04 Corrected syntax error 2016-08-11 14:04:25 -05:00
Phxntxm 12f8fb3964 Corrected which channel's ID's are saved 2016-08-11 14:02:47 -05:00
Phxntxm 31459b8f18 corrected syntax error 2016-08-11 14:00:55 -05:00
Phxntxm d906b46daf Changed notifications settings so that a mod can set a certain channel, for all notifications 2016-08-11 14:00:24 -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 9d116f7890 Added a purge command 2016-08-07 14:26:44 -05:00
Phxntxm 2d96f351c7 Removed the leave command 2016-08-06 09:11:40 -05:00
Phxntxm 1c5bdaf5cc Added the required permission of kick_members to the notification change command 2016-08-01 11:18:31 -05:00
Phxntxm 8e30e32f8b Added the ability to change user notifications 2016-08-01 11:10:20 -05:00
Phxntxm 3a77330eb3 Changed up formatting for code blocks, as sometimes a line would be removed from it 2016-07-31 14:11:05 -05:00
Phxntxm 6a775adb67 Fixed issue where valid_perms did not show all permissions 2016-07-31 09:20:59 -05:00
phxntxm e1b68f52e8 Fixed issue where all valid permissions would not print 2016-07-30 21:20:38 -05:00
phxntxm 8e050c016e Updates to comply with PEP 8 2016-07-30 19:20:55 -05:00
Phxntxm 9b9a044a27 Changed up description of removing rulres 2016-07-30 14:20:31 -05:00
Phxntxm c3b73b1dfb Added a rules command, to add custom rules per server 2016-07-30 14:18:49 -05:00
Phxntxm c914fcc6b9 Removed the counter for the deletion of rules 2016-07-30 14:17:36 -05:00
Phxntxm 67476c3e2f Added a message for the bot to send when a rule is removed successfully 2016-07-30 14:16:58 -05:00
Phxntxm 183932ca1f Added a rules command, to add custom rules per server 2016-07-30 14:15:45 -05:00
Phxntxm b8f46426f8 Added a rules command, to add custom rules per server 2016-07-30 14:14:46 -05:00
Phxntxm 94ce235753 Added a rules command, to add custom rules per server 2016-07-30 14:12:54 -05:00
Phxntxm f1c8c13de4 Added a rules command, to add custom rules per server 2016-07-30 14:12:35 -05:00
Phxntxm ac025a5ddb Added a rules command, to add custom rules per server 2016-07-30 14:11:56 -05:00
Phxntxm 06caedb4a4 Corrected the permissions printing, to show the actual permission instead of the value 2016-07-30 07:55:26 -05:00
Phxntxm d544e71104 Printing the command in permissions checking, as it seems to be failing. 2016-07-30 07:44:43 -05:00
Phxntxm ad6fdac4d1 corrected syntax error 2016-07-30 07:39:10 -05:00
Phxntxm 70be37b770 Changed the checks on all commands to use the revised custom format 2016-07-30 07:30:28 -05:00
Phxntxm 2728c7c6d7 Custom permissions has been changed to save the value instead 2016-07-30 06:58:01 -05:00
phxntxm 36ac88ac45 Corrected syntax errors 2016-07-28 18:16:42 -05:00
Phxntxm 83109c1766 tuned up a bit of the code 2016-07-28 11:59:12 -05:00
Phxntxm ec191c06fa Changed the required permissions to be send_messages instead of none 2016-07-25 09:25:41 -05:00
phxntxm 63a040be28 Checked the length of the command list to verify if a command was provided 2016-07-18 18:33:07 -05:00
Phxntxm dd0d54954d Modified cogs to print an error if Bonfire could not save any data 2016-07-18 07:06:13 -05:00
phxntxm a9267f106e Git rid of useless references, and updated for pep8 2016-07-17 16:10:12 -05:00
phxntxm 11aae5096d Changed base permission to a valid permission 2016-07-17 15:56:29 -05:00
Phxntxm 84f2ec7159 Fixed syntax error 2016-07-17 15:24:13 -05:00
Phxntxm d9475412cf Changed custom permissions to send_message as the lowest 2016-07-17 15:23:38 -05:00
Phxntxm 6aab05fd7b Changed valid_perms to use the permissions provided by discord library 2016-07-17 14:13:27 -05:00
Phxntxm 359aae4bf2 Fixed syntax error 2016-07-17 12:48:50 -05:00
Phxntxm 59594a54d9 Changed all references to MySQL saving content, to json content 2016-07-17 10:17:47 -05:00
Phxntxm acb9dfe340 Removed test printing, corrected error in the permission validation for perms add 2016-07-16 12:34:42 -05:00
Phxntxm 44af503a69 Fixed syntax error 2016-07-16 12:30:58 -05:00
Phxntxm 686918fb80 Removed error prenting to a file 2016-07-16 12:28:15 -05:00
Phxntxm dd3fd91c8c Adding printing of perms and command for testing an error 2016-07-16 12:18:24 -05:00
Phxntxm 4f93370cdb Adding printing of perms and command for testing an error 2016-07-16 12:14:29 -05:00
Phxntxm cf72e77e75 Removed ability to setup custom permissions on certain commands 2016-07-16 07:27:10 -05:00
Phxntxm 38118980b7 Changed description of removing and adding custom permission commands 2016-07-16 07:04:24 -05:00
Phxntxm 30a6147c22 Closed connection to the MySQL server to save changes 2016-07-16 07:02:30 -05:00
Phxntxm ccfef7d9ba Fixed syntax error 2016-07-16 07:01:32 -05:00
Phxntxm e5568740af Fixed syntax error 2016-07-16 07:00:49 -05:00
Phxntxm 8295b43f71 Fixed syntax error 2016-07-16 07:00:21 -05:00
Phxntxm 6b1851dd55 Added command to remove the custom permissions setup on a command 2016-07-16 06:59:28 -05:00
Phxntxm 63f00b76ec Removed ability to call many commands in pm 2016-07-16 06:42:44 -05:00
phxntxm 03dda8afc8 Checking the actual permissions instead of the role 2016-07-15 18:30:46 -05:00
phxntxm c6926a4830 Added descriptions to the perms commands 2016-07-15 17:59:15 -05:00
phxntxm 46db1a28c2 Changed checks to the custom predicate for custom permissions 2016-07-15 17:46:10 -05:00
phxntxm 727f7107f2 Added ability to setup custom permissions on the parent of group commands 2016-07-15 17:41:16 -05:00
phxntxm 2a2aa40b7f Added ability to search for subcommand's permissions 2016-07-15 17:23:13 -05:00
phxntxm e1e8e59272 Fixed syntax error 2016-07-15 17:18:48 -05:00
phxntxm 3e40d1665d Changed tag add command to accept groups 2016-07-15 17:18:04 -05:00
phxntxm 4f6e1b7ea5 Writing variables to a file to check on an error 2016-07-15 16:39:26 -05:00
Phxntxm 4eebf4ef2f Fixed syntax error 2016-07-15 14:22:04 -05:00
Phxntxm 5988bd56ba Fixed syntax error 2016-07-15 14:20:29 -05:00
Phxntxm 460c6f6285 Fixed syntax error 2016-07-15 14:17:39 -05:00
Phxntxm ae56fc0528 Added some confirmations when perms command is ran 2016-07-15 14:16:10 -05:00
Phxntxm 308ad3cb21 Fixed syntax error 2016-07-15 14:10:09 -05:00
Phxntxm 85a37094e2 Changed formatting of strings to hopefully not cause mysql errors 2016-07-15 14:09:17 -05:00
Phxntxm 153ef6058d Parameters appear to be correct, testing method again 2016-07-15 12:07:10 -05:00
Phxntxm 1aeb69e1eb Printing every parameter to test result 2016-07-15 12:04:21 -05:00
Phxntxm f6b6240568 Fixed syntax error 2016-07-15 11:23:48 -05:00
Phxntxm d1bbd452d2 Fixed syntax error 2016-07-15 11:22:40 -05:00
Phxntxm 6e0ac9036f Fixed syntax error 2016-07-15 11:14:55 -05:00