1
0
Fork 0
mirror of synced 2024-09-30 09:17:13 +13:00
Commit graph

312 commits

Author SHA1 Message Date
Phxntxm
821f7b5681 Fixed syntax error 2016-07-16 07:43:23 -05:00
Phxntxm
cdab6387cd Adding a test command to test the type hinting feature 2016-07-16 07:43:04 -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
25c7114a85 Removed printing to a file that no longer exists, for testing 2016-07-16 06:48:19 -05:00
Phxntxm
e5fd4f00c5 Removed multiple instance of no_pm in paramaters 2016-07-16 06:44:09 -05:00
Phxntxm
63f00b76ec Removed ability to call many commands in pm 2016-07-16 06:42:44 -05:00
phxntxm
195f2ee608 Stopped checking for roles if in a PM 2016-07-15 18:34:10 -05:00
phxntxm
03dda8afc8 Checking the actual permissions instead of the role 2016-07-15 18:30:46 -05:00
phxntxm
645f8fa85f Checking the actual permissions instead of the role 2016-07-15 18:22:53 -05:00
phxntxm
c6926a4830 Added descriptions to the perms commands 2016-07-15 17:59:15 -05:00
phxntxm
9590a70806 Changed checks to the custom predicate for custom permissions 2016-07-15 17:48:46 -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
3aff0c50e8 Adding test command to check automatic type hinting 2016-07-15 16:52:12 -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
73a7d3485a Fixed syntax error 2016-07-15 15:15:20 -05:00
Phxntxm
d6b0298f53 Fixed syntax error 2016-07-15 15:14:09 -05:00
Phxntxm
c057eb4e8f Fixed syntax error 2016-07-15 15:13:26 -05:00
Phxntxm
10afdb7de0 Changed tag command to allow the custom permissions set 2016-07-15 15:10:51 -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
d97431a4a8 Fixed syntax error 2016-07-15 11:13:30 -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
91d55ffff3 Fixed syntax error 2016-07-15 08:29:24 -05:00
Phxntxm
8af5ecd645 Fixed syntax error 2016-07-15 08:28:23 -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
1101d287ad Removed custom predicates, will makes custom permissions setup in the future easier 2016-07-15 08:26:32 -05:00
Phxntxm
ff4a7e9c46 Removed custom predicates, will makes custom permissions setup in the future easier 2016-07-15 08:26:20 -05:00
Phxntxm
1ef135e124 Fixed the error number 2016-07-15 08:25:58 -05:00
Phxntxm
084cb8fbb4 Corrected syntax error 2016-07-14 13:24:40 -05:00
Phxntxm
73f70139dc Corrected syntax error 2016-07-14 13:24:13 -05:00
Phxntxm
797c4bf8b5 Added a couple more stats to show for overwatch 2016-07-14 13:23:11 -05:00
Phxntxm
6abc5a13dc Corrected syntax error 2016-07-14 10:16:03 -05:00
Phxntxm
aec61b5c6e Corrected syntax error 2016-07-14 10:15:36 -05:00
Phxntxm
28d5ce3078 Replaced for loop with genexp 2016-07-14 10:15:13 -05:00
Phxntxm
a55e958dac Handled error handling for if a hero does not exist 2016-07-14 08:35:20 -05:00
Phxntxm
0fcc46b5e7 Corrected syntax error 2016-07-14 08:19:45 -05:00
Phxntxm
2d1a9945b5 Changed check to = empty string 2016-07-14 08:19:28 -05:00
Phxntxm
89ac5f092c Corrected syntax error 2016-07-14 08:06:11 -05:00
Phxntxm
6138b5b816 Added handling error if user has not uxed x hero 2016-07-14 08:02:10 -05:00
Phxntxm
964051d48e Cleaning up a bit of redundant coding 2016-07-14 07:49:01 -05:00
Phxntxm
fe14187038 Removed o_stats if a hero search 2016-07-14 07:40:48 -05:00
Phxntxm
e50b2fe400 Added a new line between each list comprehension 2016-07-14 07:39:55 -05:00
Phxntxm
37eb3d9a04 Corrected syntax error 2016-07-14 07:38:46 -05:00
Phxntxm
921e3afa95 Corrected syntax error 2016-07-14 07:33:17 -05:00
Phxntxm
3e4259307a Corrected syntax error 2016-07-14 07:32:16 -05:00
Phxntxm
3175f66bc5 Only added hero_stats if a hero is searched for 2016-07-14 07:31:53 -05:00
Phxntxm
9ce91171c4 Corrected syntax error 2016-07-14 07:30:55 -05:00
Phxntxm
5fa35a83ae Corrected syntax error 2016-07-14 07:30:18 -05:00
Phxntxm
c4065a2669 Setup list comprehension to generalize the json dictionary 2016-07-14 07:29:04 -05:00
phxntxm
a0011f5b4f Changed ow to ow stats, the multiple parameters was breaking it 2016-07-14 03:39:31 -05:00
phxntxm
271ab1c716 Moved title() to perform once, at the nd of the string setting up 2016-07-13 23:34:17 -05:00
phxntxm
5915c2cb11 Moved the replacing of _ with ' ' for better functionality 2016-07-13 23:31:52 -05:00
phxntxm
499bc267d9 Testing a genexp in place of the for loop 2016-07-13 23:29:35 -05:00
phxntxm
fbd28a8889 Handled exception if no wins or losses have been made with this hero 2016-07-13 22:57:03 -05:00
phxntxm
3f37cc0b14 Actually printed the stats this time 2016-07-13 22:48:02 -05:00
phxntxm
2a502ff92c Removed searching for kill/death ratio when searching for a hero 2016-07-13 22:46:58 -05:00
phxntxm
158c041712 Had general/game status backwards, switched that 2016-07-13 22:45:05 -05:00
phxntxm
e0f754d7d9 Corrected the call on general/game stats if a hero is called 2016-07-13 22:44:10 -05:00
phxntxm
b1fb52f6b9 Removed searching for overall status when a hero is searched 2016-07-13 22:43:01 -05:00
phxntxm
3fa9220deb Fixed a couple syntax errors 2016-07-13 22:41:51 -05:00
phxntxm
3c8e791855 Added functionality of seraching for specific heroes in overwatch 2016-07-13 22:41:13 -05:00
phxntxm
bd23de0844 Added description for the overwatch commands 2016-07-13 22:20:45 -05:00
phxntxm
ad735fdc42 Added newlines to the stats for readability 2016-07-13 22:17:26 -05:00
phxntxm
312b2a1b5a Passed the context to the ow command 2016-07-13 22:16:47 -05:00
phxntxm
aaa1b8e6ae Added overwatch lookup on users 2016-07-13 22:15:55 -05:00
phxntxm
946b61b926 Replaced the misplaces $ with a % 2016-07-13 21:50:38 -05:00
phxntxm
9eebb9361d The lookup for the profile info takes a while, sent a message before it starts 2016-07-13 21:44:18 -05:00
phxntxm
7a6861c4c5 Changed method name, was interfering with add 2016-07-13 21:27:10 -05:00
phxntxm
33ec7bbb30 Added saving of battletags; prepping for overwatch support 2016-07-13 21:24:41 -05:00
phxntxm
4c52d52dae Added courutine functionality for live debugging 2016-07-13 09:27:23 -05:00
phxntxm
42a3f3f829 Added courutine functionality for live debugging 2016-07-12 23:30:22 -05:00
phxntxm
9e129fc991 Added ' around the tag when printing it 2016-07-12 11:55:18 -05:00
phxntxm
647fd5b151 Missing a } for formatting, added that 2016-07-12 11:51:53 -05:00
phxntxm
e5aefae323 Added functionality to remove tags for mutlipe words 2016-07-12 11:48:47 -05:00
phxntxm
19aa9be82a Removed testing, github stopped calling my webhook for no reasong, that's why I couldn't figure this issue out lol 2016-07-12 11:46:33 -05:00
phxntxm
4454c07d58 Testing the tag, more than word seems to be breaking 2016-07-12 11:40:34 -05:00
phxntxm
a7430a9dbd stripped tag of whitespace off the ends 2016-07-12 11:30:47 -05:00
phxntxm
026e4ed4ae Changed tag to search for tags with more than one word 2016-07-12 11:28:35 -05:00
phxntxm
558612f6f7 Added descriptions to the tags 2016-07-12 11:03:35 -05:00
phxntxm
b286a59683 How did that get there 2016-07-12 10:58:57 -05:00
phxntxm
280544b734 Made the last change on tag as well 2016-07-12 10:58:25 -05:00
phxntxm
d3a20edcf3 Changed back to the normal format for selecting the database 2016-07-12 10:56:55 -05:00
phxntxm
42fc65c789 Changed ' to triple " 2016-07-12 10:53:13 -05:00
phxntxm
00d92d30cb Changed second paramater to a tuple 2016-07-12 10:50:51 -05:00
phxntxm
f86880d634 Fixed a couple errors 2016-07-12 10:48:34 -05:00
phxntxm
460524d23b Added a 'tag' command to create custom tags 2016-07-12 10:47:41 -05:00
phxntxm
b61e6aacc7 Moved checkchannels to be a class of Twitch, this should make accessing bot more relaible 2016-07-12 09:44:17 -05:00
phxntxm
b35aed381b Testing how pass_context works with subcommands 2016-07-12 09:19:43 -05:00
phxntxm
d8ca2de783 Used commands.has_permissions for a couple of my old predicates 2016-07-12 09:17:47 -05:00
Phxntxm
9a516b0628 Added exception if the person hasn't booped anyone 2016-07-11 14:27:53 -05:00
Phxntxm
0323678d67 Added exception to handle if 'd' is passed as the only valid part of the regex parsing 2016-07-11 13:18:57 -05:00
Phxntxm
7d85fc1f55 Added exception to handle if 'd' is passed as the only valid part of the regex parsing 2016-07-11 13:16:18 -05:00
Phxntxm
209631a2dd Printed the amount of sides of the die 2016-07-11 13:13:25 -05:00
Phxntxm
4e27daafbf Printed the amount of sides of the die 2016-07-11 12:58:53 -05:00
Phxntxm
7c4066131c Changed limit of the side of dice to 100 instead of 25 2016-07-11 12:56:43 -05:00
Phxntxm
e44909a049 Didn't properly loop the background task 2016-07-11 12:33:23 -05:00
Phxntxm
c3002d613e Testing error on twitch loop 2016-07-11 12:12:05 -05:00
Phxntxm
03032d03e5 Testing error on twitch loop 2016-07-11 12:07:01 -05:00
Phxntxm
6336244dd4 Testing error on twitch loop 2016-07-11 12:05:38 -05:00
Phxntxm
656990686b Added error handling for bad arguments 2016-07-11 07:40:03 -05:00
phxntxm
6f3f3dbf1b Screw you pep8 2016-07-11 06:01:52 -05:00
phxntxm
03c60d0db5 Removed check if author is player2 from predicates 2016-07-10 17:02:27 -05:00
phxntxm
30bd29dcab Turned battling off if player2 lost 2016-07-10 17:01:27 -05:00
phxntxm
c44fcfcbbf Removed checks, am checking this in the command now. 2016-07-10 16:57:52 -05:00
phxntxm
547025790e Fixed old connection closing method, used new function inside of confi 2016-07-10 16:18:30 -05:00
Phxntxm
3d61f9afd4 Spelled followers correctly 2016-07-10 13:58:45 -05:00
Phxntxm
95cf41e8cf Corrected variable name 2016-07-10 13:57:46 -05:00
Phxntxm
1d3944a3da Gave a bit more info on the twitch command of a user 2016-07-10 13:56:55 -05:00