1
0
Fork 0
mirror of synced 2024-08-04 13:01:18 +12:00
Commit graph

698 commits

Author SHA1 Message Date
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
04a9ce1ce1 removed not used variable 2016-07-30 14:11:42 -05:00
Phxntxm
d854362304 corrected the detection of when the songs' queue is full 2016-07-30 12:28:53 -05:00
Phxntxm
226b47453e corrected the detection of when the songs' queue is full 2016-07-30 12:25:01 -05:00
Phxntxm
c29b9f6aea corrected syntax error 2016-07-30 10:01:48 -05:00
Phxntxm
945e3ef878 corrected syntax error 2016-07-30 10:00:51 -05:00
Phxntxm
6983cf8d6b Added an uptime command to the bot 2016-07-30 09:59:35 -05:00
Phxntxm
a4b9ce01e8 Added a cooldown to battling 2016-07-30 09:17:18 -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
acdab526a9 corrected syntax error 2016-07-30 07:31:55 -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
754d2ba043 Updated http request to send a custom user-agent 2016-07-29 19:50:16 -05:00
Phxntxm
e63242b392 Corrected issue where match_multi was never used 2016-07-29 07:54:36 -05:00
Phxntxm
7344058a7b Uses the default bot.loop instead of the one in config 2016-07-29 07:52:50 -05:00
Phxntxm
7a44081ea3 Corrected error when checking if a channel was online 2016-07-29 07:36:27 -05:00
phxntxm
7246982ff1 Corrected syntax errors 2016-07-28 18:17:21 -05:00
phxntxm
36ac88ac45 Corrected syntax errors 2016-07-28 18:16:42 -05:00
phxntxm
187ee31fc8 Corrected syntax errors 2016-07-28 18:15:02 -05:00
phxntxm
5259b3ec3d Removed test command 2016-07-28 18:08:06 -05:00
phxntxm
ac4398e4a8 Testing command 2016-07-28 18:05:06 -05:00
Phxntxm
e68c19fe9d Corrected description on a couple commands 2016-07-28 15:25:22 -05:00
Phxntxm
2e9ba32e87 removed all references to urllib in place of aiohttp 2016-07-28 12:11:48 -05:00
Phxntxm
83109c1766 tuned up a bit of the code 2016-07-28 11:59:12 -05:00
Phxntxm
72b14d315b Tidied up some code 2016-07-28 07:08:44 -05:00
Phxntxm
b93745cb6c Tidied up some coding 2016-07-28 06:50:05 -05:00
Phxntxm
b555f12b48 Removed some useless code 2016-07-28 06:45:27 -05:00
Phxntxm
06e9261107 Corrected issue where author's rating was printed instead of the user's mentioned 2016-07-25 15:24:36 -05:00
Phxntxm
b492b544bd Added total ranks to the printing of the battle stats 2016-07-25 15:15:19 -05:00
Phxntxm
96b1b5fb33 Corrected numbering for the ranking system 2016-07-25 15:11:08 -05:00
Phxntxm
8d3cad3138 Fixed issue where bot was not sending the message of the stats when calculated 2016-07-25 15:10:35 -05:00
Phxntxm
5cfc0510f3 Corrected syntax error 2016-07-25 15:09:21 -05:00
Phxntxm
67a319a3b8 Corrected syntax error 2016-07-25 15:08:27 -05:00
Phxntxm
c7124d448b Corrected syntax error 2016-07-25 15:07:56 -05:00
Phxntxm
96fbe0c288 Removed stats command from interaction cog 2016-07-25 15:00:34 -05:00
Phxntxm
7bc51cfd68 Corrected syntax error 2016-07-25 14:58:09 -05:00
Phxntxm
2764730b8f Provided a stats command that should provide the battling stats for a specific user 2016-07-25 14:57:47 -05:00
Phxntxm
5d9a5efa25 Changed up the printing method for each user's rating 2016-07-25 14:29:40 -05:00
Phxntxm
8cb7999ac0 Corrected syntax error 2016-07-25 14:25:47 -05:00
Phxntxm
5bf79c5a30 Corrected issue where member ID was not added to the tuple needed for the leaderboard 2016-07-25 14:24:26 -05:00
Phxntxm
233cfd81c6 Corrected syntax error 2016-07-25 13:43:17 -05:00
Phxntxm
404013322c Corrected syntax error 2016-07-25 13:41:41 -05:00
Phxntxm
1d18909230 Completed leaderboard command, should print a sorted list of the battle records and rating 2016-07-25 12:50:08 -05:00
Phxntxm
47ab0257a7 Corrected syntax error 2016-07-25 10:59:38 -05:00
Phxntxm
17f9e559cb Changed leaderboard command to use the new rating system 2016-07-25 10:58:39 -05:00
Phxntxm
5bbf104eba Corrected syntax error 2016-07-25 09:49:51 -05:00
Phxntxm
83e620e3e6 Corrected syntax error 2016-07-25 09:32:35 -05:00
Phxntxm
6ce5a0f101 Corrected syntax error 2016-07-25 09:30:20 -05:00
Phxntxm
ec191c06fa Changed the required permissions to be send_messages instead of none 2016-07-25 09:25:41 -05:00
Phxntxm
084111e438 Changed up the battling ranking system to use the Harkness rating system 2016-07-25 09:25:17 -05:00
Phxntxm
bda7086cab Corrected syntax error 2016-07-24 13:57:10 -05:00
Phxntxm
b00a5e5b59 refresh URL upon toggling next song; should stop the random skips 2016-07-24 13:55:18 -05:00
Phxntxm
5f399bac82 Printing flag states for testing playlist error 2016-07-24 13:09:15 -05:00
Phxntxm
43a1025da0 Fixed issue with not providing a die notation for roll command 2016-07-24 10:34:04 -05:00
Phxntxm
1427bce6b3 Removed capitalCase in method 2016-07-24 10:33:46 -05:00
Phxntxm
5fdde35cbb Corrected syntax error 2016-07-24 09:13:23 -05:00
Phxntxm
01988feef1 Corrected syntax error 2016-07-24 09:10:56 -05:00
Phxntxm
16f36ab933 Replaced urllib with aiohttp 2016-07-24 09:09:12 -05:00
Phxntxm
afe8efde54 Corrected syntax error 2016-07-24 09:04:50 -05:00
Phxntxm
122e6049cf Corrected syntax error 2016-07-24 09:04:29 -05:00
Phxntxm
8d9c6eb047 Corrected syntax error 2016-07-24 09:04:12 -05:00
Phxntxm
fb7edc4523 Corrected syntax error 2016-07-24 09:03:33 -05:00
Phxntxm
1f7da0a4f5 Replaced urllib with aiohttp 2016-07-24 09:02:50 -05:00
Phxntxm
4792225061 Corrected syntax error 2016-07-24 08:51:04 -05:00
Phxntxm
5474a994ee Corrected syntax error 2016-07-24 08:50:19 -05:00
Phxntxm
358f3a5830 Replaced urllib with aiohttp 2016-07-24 08:49:05 -05:00
Phxntxm
82f68ff53a removed Timer import, using asyncio now 2016-07-24 07:14:02 -05:00
Phxntxm
4b03e13495 Changed timer on call_later back to 3 minutes, no testing needed anymore 2016-07-23 13:43:39 -05:00
Phxntxm
ff27da7da0 Changed Timer to use asyncio's call_later method 2016-07-23 13:42:31 -05:00
Phxntxm
c69b48bff0 Fixed syntax error 2016-07-23 11:40:52 -05:00
Phxntxm
fe7f958f18 Implemented use of cooldown decorator for boops 2016-07-23 11:39:25 -05:00
Phxntxm
430b1e56d3 Lowering battle timeout to 5 seconds for testing 2016-07-23 11:06:16 -05:00
Phxntxm
e6373e5475 Imported random, as it wasn't imported before 2016-07-23 10:33:22 -05:00
Phxntxm
697afd1f97 Changed up the method to turn off all battling 2016-07-23 10:07:03 -05:00
Phxntxm
c713f359e4 Corrected syntax error 2016-07-23 09:44:25 -05:00
Phxntxm
538d4aa6df Added a name to the Timer thread for better tracking, as it's not completing 2016-07-23 09:42:41 -05:00
Phxntxm
f51dcea46a Changed name of debugging command to debug 2016-07-23 09:36:54 -05:00
Phxntxm
ae44519302 Fixed syntax error 2016-07-23 09:25:55 -05:00
Phxntxm
af02f64f3c Shortened up a few pieces of code in the battling methods 2016-07-23 09:20:49 -05:00
Phxntxm
5072bebec0 Used the upload helper function instead of bot.send_file 2016-07-23 09:20:10 -05:00
Phxntxm
831ed6125f Added the required setup function 2016-07-23 07:01:16 -05:00
Phxntxm
dd8ecf7590 Corrected a syntax error 2016-07-23 07:00:21 -05:00
Phxntxm
d989cb8321 Added two cogs for specific categories 2016-07-23 06:59:02 -05:00
Phxntxm
fd4da26ff8 Removed some commands to make specific cog for them 2016-07-23 06:58:35 -05:00
Phxntxm
cd26475200 Added a tags command to list all the tags from this server 2016-07-22 10:12:53 -05:00
Phxntxm
ba4d6e8c72 Created a test command to test the type hinting 2016-07-22 06:55:35 -05:00
Phxntxm
d9931dcf3b Corrected syntax error 2016-07-22 06:54:59 -05:00
Phxntxm
e783f575e0 Corrected syntax error 2016-07-22 06:54:31 -05:00
Phxntxm
81207a517e Created a test command to test the type hinting 2016-07-22 06:54:03 -05:00
phxntxm
901c81823e Changed downloading doggo images to use aiohttp 2016-07-21 11:23:55 -05:00
Phxntxm
2d9c2a8e87 Fixed syntax error 2016-07-21 07:32:53 -05:00
Phxntxm
42090a39f6 Added a soft fail if there is no result found for the search for the e621 command 2016-07-21 07:30:04 -05:00
phxntxm
65c0628a0b Removed creation of short link for derpibooru links, a discord update broke embedding images if there was a redirection (which is all shortened links are) 2016-07-20 18:51:17 -05:00
phxntxm
187da1fe35 Upped the limit on the amount of posts that can be retrieved from a single e621 call, made the bot say that it's retrieving an image since this might take a bit 2016-07-20 17:17:30 -05:00
phxntxm
bfff8e3ffb Fixed issue where the server was being searched instead of the channel 2016-07-20 17:08:46 -05:00
phxntxm
c5dd7a1cee Removed printing of URL; error has been corrected 2016-07-20 17:05:13 -05:00
phxntxm
5eef079ddf Fixed error where I was adding a space instead of %20 to the URL 2016-07-20 17:03:47 -05:00
phxntxm
ebca490ada Printing the URL, to figure out the error I'm receiving 2016-07-20 17:01:01 -05:00
phxntxm
f34f77f5e5 Added an e621 command to search e621's images 2016-07-20 16:59:19 -05:00
phxntxm
de5503d5ea Changed description of the calendar command 2016-07-18 18:40:09 -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
d1db6f2ec8 Lowercased the month to match the months dictionary 2016-07-18 18:30:52 -05:00
phxntxm
9860351caa Fixed syntax error 2016-07-18 18:29:40 -05:00
phxntxm
e90c764428 Added a calendar command 2016-07-18 18:25:03 -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
27a2f8f45d Corrected a couple issues with battling 2016-07-18 15:01:07 -05:00
Phxntxm
5d212e36bf Corrected issue with battling 2016-07-18 14:50:34 -05:00
Phxntxm
caef4fc54f Fixed syntax error 2016-07-18 14:37:24 -05:00
Phxntxm
f937b17539 Have bot sending the boops list to see why it's erroring 2016-07-18 14:36:04 -05:00
Phxntxm
9b393d544a Corrected issue where bot was not saving the 1st and 2nd player in a battle 2016-07-18 14:34:43 -05:00
Phxntxm
aac901353f Fixed error where bot was not saving when someone goes live, causing her to spam the channel 2016-07-18 14:32:15 -05:00
Phxntxm
4bdbed71e5 Fixed syntax error 2016-07-18 10:45:40 -05:00
Phxntxm
735dcb0c1e Fixed syntax error 2016-07-18 10:44:37 -05:00
Phxntxm
3c279e2488 Fixed syntax error 2016-07-18 10:44:16 -05:00
Phxntxm
a3559d5a23 Fixed syntax error 2016-07-18 10:39:59 -05:00
Phxntxm
59c5baa598 Fixed syntax error 2016-07-18 10:39:44 -05:00
Phxntxm
5fda5a630b Fixed syntax error 2016-07-18 10:38:07 -05:00
Phxntxm
64cb718bb9 Corrected the checking if the player was player2 2016-07-18 10:26:50 -05:00
Phxntxm
8ba99ec277 Corrected which values to check when checking if someone is battling 2016-07-18 09:51:47 -05:00
Phxntxm
4de0b9eb5b Fixed syntax error 2016-07-18 09:47:39 -05:00
Phxntxm
d085210c64 Fixed syntax error 2016-07-18 09:36:21 -05:00
Phxntxm
9821fb3671 Return True battling is completely empty 2016-07-18 09:35:05 -05:00
Phxntxm
d42c37243d Fixed syntax error 2016-07-18 09:28:59 -05:00
Phxntxm
a62455c896 Fixed syntax error 2016-07-18 09:27:15 -05:00
Phxntxm
6690028e1f Added ability for multiple battles to be going on at once 2016-07-18 09:26:11 -05:00
Phxntxm
afbe200c63 Fixed syntax error 2016-07-18 08:43:25 -05:00
Phxntxm
a36978491e Updated json file to contain wins and losses for battles, instead of a string of the record 2016-07-18 08:36:57 -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
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
362270510f Fixed syntax error 2016-07-17 16:03:07 -05:00
phxntxm
6e34c46df0 Set _perm to None as it couldn't be referenced before 2016-07-17 15:58:13 -05:00
phxntxm
11aae5096d Changed base permission to a valid permission 2016-07-17 15:56:29 -05:00
phxntxm
a6449de588 Set joke command for a valid permission 2016-07-17 15:54:31 -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
1c20ef2754 Printing full traceback for error 2016-07-17 13:20:44 -05:00
Phxntxm
359aae4bf2 Fixed syntax error 2016-07-17 12:48:50 -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
dfea4bbcb5 Fixed syntax error 2016-07-17 12:23:18 -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
37b6c58713 Fixed syntax error 2016-07-17 11:12:34 -05:00
Phxntxm
5565b6cd91 Fixed syntax error 2016-07-17 11:12:11 -05:00
Phxntxm
233364f322 Fixed syntax error 2016-07-17 11:11:02 -05:00
Phxntxm
1eafbb223d Fixed syntax error 2016-07-17 11:07:21 -05:00
Phxntxm
cdb5372682 Fixed syntax error 2016-07-17 10:59:37 -05:00
Phxntxm
9b134a9b43 Passed context to twitch as it's now needed 2016-07-17 10:48:42 -05:00
Phxntxm
904488c589 Fixed syntax error 2016-07-17 10:25:39 -05:00
Phxntxm
dc8b14f581 Fixed syntax error 2016-07-17 10:25:06 -05:00
Phxntxm
071ea01426 Fixed syntax error 2016-07-17 10:24:49 -05:00
Phxntxm
016606c0b2 Fixed syntax error 2016-07-17 10:21:25 -05:00
Phxntxm
c7605cbaf3 Fixed syntax error 2016-07-17 10:19:41 -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
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
61defbc824 Changed error handling for removing a tag, to print the tag that is failing 2016-07-16 11:57:17 -05:00
Phxntxm
ae6692867a Added custom permissions accessiblity for all commands 2016-07-16 11:49:14 -05:00
Phxntxm
2e5135dd77 Added custom permissions accessiblity for all commands 2016-07-16 11:48:10 -05:00
Phxntxm
d251d20e9a Added a command to dynamically add doggo images 2016-07-16 10:56:20 -05:00
Phxntxm
95bf4ff886 Removed images from repository 2016-07-16 10:24:10 -05:00
Phxntxm
530f344a38 Fixed syntax error 2016-07-16 09:46:02 -05:00
Phxntxm
9df0e06d42 Added compatbility to use the doggo command for any doggo image saved 2016-07-16 09:45:44 -05:00
Phxntxm
a2aa235ebd Added doggo command 2016-07-16 09:20:17 -05:00
Phxntxm
94074f28d1 Removed test command 2016-07-16 07:53:33 -05:00
Phxntxm
2a09bdbe77 Adding a test command to test the type hinting feature 2016-07-16 07:49:01 -05:00
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
Phxntxm
2c07b3c32d Fixed the error for double on/off 2016-07-10 13:39:22 -05:00
Phxntxm
0d00cf1685 Fixed the error for double on/off 2016-07-10 13:36:57 -05:00
Phxntxm
c710dc153f Fixed the : 2016-07-10 13:35:27 -05:00
Phxntxm
160e9614ab Setup notifications toggling 2016-07-10 13:35:02 -05:00
Phxntxm
5f7ab2e127 Changed the description of the class to be a bit more concise 2016-07-10 13:10:14 -05:00
Phxntxm
40678f6a65 Added a feature to turn off 'live' when a channel goes offline 2016-07-10 13:06:56 -05:00
Phxntxm
8e99c939dc I don't use client, I use bot. Changed client to bot 2016-07-10 12:37:34 -05:00
Phxntxm
4128faebc6 Loop was moved to the config file, not the bot file 2016-07-10 12:31:53 -05:00
Phxntxm
536d348a68 Saved the actual server, not just the id now 2016-07-10 12:24:10 -05:00
Phxntxm
e79a85e646 Added : after method... 2016-07-10 12:16:53 -05:00
Phxntxm
bccae0ebd3 Added a notification feature that should send a message if one of the saved twitch channels goes live 2016-07-10 12:15:44 -05:00
Phxntxm
ebc6ea4393 Added a method to check if a channel is online 2016-07-10 11:34:27 -05:00
Phxntxm
467fc40797 Lol that's not how MySQL commands work, silly Phantom 2016-07-10 11:00:37 -05:00
Phxntxm
5da878ee29 Corrected the MySQL search around the URL that, by adding quotes 2016-07-10 10:59:30 -05:00