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
|
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
|
6e163eb080
|
Removed printing of invalid commands
|
2016-08-01 08:06:11 -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
|
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
|
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
|
1c20ef2754
|
Printing full traceback for error
|
2016-07-17 13:20:44 -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
|
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
|
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 |
|
phxntxm
|
4f6e1b7ea5
|
Writing variables to a file to check on an error
|
2016-07-15 16:39:26 -05:00 |
|
Phxntxm
|
48a753cf26
|
Fixed syntax error
|
2016-07-15 15:28:14 -05:00 |
|
Phxntxm
|
1cfbe57bc7
|
Fixed syntax error
|
2016-07-15 15:21:27 -05:00 |
|
Phxntxm
|
5c4ad6ebff
|
Corrected the checking predicate for custom permissions
|
2016-07-15 15:18:52 -05:00 |
|
Phxntxm
|
d6b0298f53
|
Fixed syntax error
|
2016-07-15 15:14:09 -05:00 |
|
Phxntxm
|
10afdb7de0
|
Changed tag command to allow the custom permissions set
|
2016-07-15 15:10:51 -05:00 |
|
Phxntxm
|
d97431a4a8
|
Fixed syntax error
|
2016-07-15 11:13:30 -05:00 |
|
Phxntxm
|
8af5ecd645
|
Fixed syntax error
|
2016-07-15 08:28:23 -05:00 |
|
Phxntxm
|
1101d287ad
|
Removed custom predicates, will makes custom permissions setup in the future easier
|
2016-07-15 08:26:32 -05:00 |
|
phxntxm
|
d8ca2de783
|
Used commands.has_permissions for a couple of my old predicates
|
2016-07-12 09:17:47 -05:00 |
|
phxntxm
|
03c60d0db5
|
Removed check if author is player2 from predicates
|
2016-07-10 17:02:27 -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 |
|