1
0
Fork 0
mirror of synced 2024-09-28 07:21:16 +12:00
Commit graph

449 commits

Author SHA1 Message Date
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