1
0
Fork 0
mirror of synced 2024-07-03 05:31:14 +12:00
Commit graph

219 commits

Author SHA1 Message Date
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
Phxntxm f4e79c93ae Fixed syntax error 2016-07-15 11:13:42 -05:00
Phxntxm ef1445314e Fixed syntax error 2016-07-15 11:10:21 -05:00
Phxntxm a12f8ca10b Fixed syntax error 2016-07-15 11:05:41 -05:00
Phxntxm e9f5c88482 Fixed syntax error 2016-07-15 10:59:30 -05:00
Phxntxm ce1077bcd9 Handling testing exception in the cog for now 2016-07-15 10:59:06 -05:00
Phxntxm f94fed38ea Fixed syntax error 2016-07-15 10:18:55 -05:00
Phxntxm 249dac9666 Fixed syntax error 2016-07-15 10:13:11 -05:00
Phxntxm 824715fbd1 Fixed syntax error 2016-07-15 10:11:35 -05:00
Phxntxm 5a1641a9ce Fixed syntax error 2016-07-15 10:10:35 -05:00
Phxntxm dbc4559392 Fixed syntax error 2016-07-15 10:04:03 -05:00
Phxntxm 44e8247841 Fixed syntax error 2016-07-15 10:03:46 -05:00
Phxntxm 70f0021616 Fixed syntax error 2016-07-15 10:02:48 -05:00
Phxntxm 0a5424a54e Fixed syntax error 2016-07-15 09:59:18 -05:00
Phxntxm be3213dbd8 Fixed syntax error 2016-07-15 09:58:39 -05:00
Phxntxm 5ec8603dac Added functionality to add custom permission to commands 2016-07-15 09:58:10 -05:00
Phxntxm fea852ba4e Fixed syntax error 2016-07-15 08:58:28 -05:00
Phxntxm 5a8d7de62d Fixed syntax error 2016-07-15 08:58:07 -05:00
Phxntxm 65f1219fdb Fixed syntax error 2016-07-15 08:56:36 -05:00
Phxntxm 2c9391643e Added error checking for viewing custom permissions 2016-07-15 08:56:13 -05:00
Phxntxm ea4fcdf01f Fixed syntax error 2016-07-15 08:27:55 -05:00
Phxntxm 3ebec94c62 Added perms command; not setup yet, pretty much just a 'pass' at the moment 2016-07-15 08:27:00 -05:00
phxntxm d8ca2de783 Used commands.has_permissions for a couple of my old predicates 2016-07-12 09:17:47 -05:00
Phxntxm 76db201274 Fixed indenting 2016-07-09 14:40:51 -05:00
Phxntxm 7ebb704bdd Added : after method, I always forget those :/ 2016-07-09 14:39:32 -05:00
Phxntxm 64db88544d Changed nsfw commands into subcommands 2016-07-09 14:38:48 -05:00
Phxntxm 4ddd6f6ac7 Added back the say command 2016-07-09 14:14:38 -05:00
Phxntxm 9dbfb66119 Changed a description n mod, added a join command to provide a link to add the bot to another server 2016-07-09 13:27:14 -05:00
Phxntxm 911ac717bd Corrected error handling on unnsfw 2016-07-09 11:54:24 -05:00
Phxntxm eb98570d37 Changed messsage to message. I just wanted lots of s's :c 2016-07-09 11:41:43 -05:00
Phxntxm 28b47d2a13 Properly closed MySQL connections 2016-07-09 11:33:48 -05:00
Phxntxm e95638f2cb Fixed error in unnsfw command 2016-07-09 11:28:18 -05:00
Phxntxm 8cf9b784b7 Fixed error in unnsfw command 2016-07-09 11:27: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 5de2c9cc5d Returned after printing the channel is already registered as nsfw 2016-07-09 10:41:44 -05:00
Phxntxm c9f1a44667 Imported pymysql so the error would work...derp again 2016-07-09 10:40:46 -05:00
Phxntxm 168aa819a1 Added error checking for an already registered nsfw channel 2016-07-09 10:26:13 -05:00
Phxntxm a112a9173f Changed this to save the channel's ID and not the messages...oops 2016-07-09 10:19:34 -05:00
Phxntxm 2d25c04264 Added a nsfwchannel command to add to the database 'this' channel 2016-07-09 10:17:54 -05:00
Phxntxm e68fa688c4 added cogs. if not included, to make module loading/unloading easier 2016-07-09 10:02:09 -05:00
Phxntxm 26fe9dee67 Fixed error in printing the error 2016-07-09 09:59:21 -05:00
Phxntxm d45b3d4ff2 Added error checking to view the errors on loading, unloading modules 2016-07-09 09:57:57 -05:00
Phxntxm 2923c9c876 Added a load, unload, and reload modules for live use to not need to restart the bot 2016-07-09 09:39:25 -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 14a8222e40 Added class descriptions for cogs; created listboops command 2016-07-08 20:59:10 -05:00
phxntxm 1f8b380b62 Added cog setup function in mod cog 2016-07-08 20:31:18 -05:00
phxntxm 2bde1ce936 Complete modification to use cogs 2016-07-08 20:27:19 -05:00