1
0
Fork 0
mirror of synced 2024-06-26 18:21:15 +12:00
Commit graph

133 commits

Author SHA1 Message Date
phxntxm 6c8b592d12 Rearranged the 'fails' for boops, to not cause an error when none is provided 2016-09-21 14:16:47 -05:00
phxntxm 70beca85fd Added a message for when someone isn't provided to boop 2016-09-21 14:04:37 -05:00
phxntxm 2fef94db0f Removed usage of config.loop since bot.loop already exists 2016-09-20 17:22:02 -05:00
phxntxm f4291ab923 Used the new cooldown reset method; simplified boops 2016-09-11 03:30:23 -05:00
phxntxm aedf8c4a4c Spelled tokens correctly 2016-09-07 05:32:57 -05:00
phxntxm 1a15c12c3e Added a cooldown reset on failed commands 2016-09-06 14:56:34 -05:00
phxntxm 138021bd90 Changed nsfw and rules so that they can are dictionaries 2016-08-30 21:48:37 -05:00
phxntxm 6f9acb0d7a Changed up what was returned on invalid searches 2016-08-30 20:48:30 -05:00
phxntxm cad6fd4e14 Awaited the new save/get content methods 2016-08-30 19:11:25 -05:00
phxntxm 5b8fc913b8 PEP8 changes 2016-08-30 17:33:46 -05:00
Phxntxm 639c6ae58d Corrected what was sent via the timeout 2016-08-21 15:01:47 -05:00
Phxntxm 57c8b0271a Corrected syntax error 2016-08-21 14:38:03 -05:00
Phxntxm 9898b1eff0 Changed up battling to stop saving content to the config file, as there's no need 2016-08-21 14:37:12 -05:00
Phxntxm 25adbf83f5 Stopped the bot from removing messages, as it bugs mobile apps when removed so quickly 2016-08-20 22:04:27 -05:00
phxntxm cfac889db8 Corrected issue with the update records, if no entry yet 2016-08-19 01:13:03 -05:00
phxntxm 8a1a7900a7 Corrected error if a member was provided but not mentioned 2016-08-18 12:44:40 -05:00
phxntxm c8730a3b6f Corrected some syntax/pep8 errors 2016-08-16 10:22:32 -05:00
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 2f9b75f5d7 Changed random generating to use SystemRandom, for better random numbers 2016-08-13 14:58:47 -05:00
Phxntxm 370c2e02b1 Changed the order of operations, in case the bot doesn't have permissions to delete/send a message 2016-08-07 08:55:35 -05:00
Phxntxm 425cf30965 Changed the order of operations, in case the bot doesn't have permissions to delete/send a message 2016-08-07 08:46:30 -05:00
phxntxm 1cea255d83 Pep8 updates 2016-08-06 17:20:23 -05:00
Phxntxm c907f76ac8 Removed a loss for some who declines to battle 2016-08-04 10:20:28 -05:00
phxntxm c975e2b50c Printing out the time left when a command is on cooldown 2016-08-03 20:31:38 -05:00
Phxntxm a4b9ce01e8 Added a cooldown to battling 2016-07-30 09:17:18 -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 187ee31fc8 Corrected syntax errors 2016-07-28 18:15:02 -05:00
Phxntxm 83109c1766 tuned up a bit of the code 2016-07-28 11:59:12 -05:00
Phxntxm 96fbe0c288 Removed stats command from interaction cog 2016-07-25 15:00:34 -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 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 084111e438 Changed up the battling ranking system to use the Harkness rating system 2016-07-25 09:25:17 -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 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 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 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 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 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 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 a9267f106e Git rid of useless references, and updated for pep8 2016-07-17 16:10:12 -05:00
Phxntxm dfea4bbcb5 Fixed syntax error 2016-07-17 12:23:18 -05:00
Phxntxm 59594a54d9 Changed all references to MySQL saving content, to json content 2016-07-17 10:17:47 -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 d8ca2de783 Used commands.has_permissions for a couple of my old predicates 2016-07-12 09:17:47 -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 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 28b47d2a13 Properly closed MySQL connections 2016-07-09 11:33:48 -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 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 45ab47bb75 Made function variables more explicit, for the help command to be more obvious 2016-07-08 20:42:33 -05:00
phxntxm 2bde1ce936 Complete modification to use cogs 2016-07-08 20:27:19 -05:00