1
0
Fork 0
mirror of synced 2024-05-29 16:59:42 +12:00
Commit graph

167 commits

Author SHA1 Message Date
Phxntxm 74d22f2d8d Update no_pm to use the decorator instead 2017-04-08 22:04:46 -05:00
Phxntxm 503f710a4b Set the filename as the correct extension 2017-04-01 16:12:44 -05:00
Phxntxm a5b21eaa68 Handle if someone has battled someone then left the server 2017-03-23 22:02:42 -05:00
phxntxm 6ed044c1cc Convert all comparisions to the db to string, as rethinkdb fails to parse ints as keys, or long ints in general 2017-03-08 01:55:22 -06:00
phxntxm 18e5648b41 Cast ID to a str 2017-03-08 01:29:05 -06:00
phxntxm 58eb623a1a Stopped trying to pull from a one indexed list, as we no longer use that in key'd tables 2017-03-08 00:43:40 -06:00
phxntxm 69a92431d8 Removed not required string conversions 2017-03-08 00:27:03 -06:00
phxntxm 4018db2dac Added a battle outcome 2017-03-08 00:15:52 -06:00
phxntxm 67d8fedef8 Updated for rewrite: Batch 6 2017-03-07 22:28:30 -06:00
phxntxm a05b768274 Updated for rewrite: Batch 2 2017-03-07 16:35:30 -06:00
Phxntxm 23e69a01c6 Update to work with the rewrite: Batch 1 2017-03-05 20:45:44 -06:00
Phxntxm dd0cced626 Corrected issue where a difference in imported packages caused a method to not be found 2017-02-17 13:48:45 -06:00
Phxntxm edf9d9a587 Used the jpeg conversion method, since some browsers do not have webp compatibility 2017-02-12 20:33:57 -06:00
Phxntxm c02efe8c46 Updated avatar file names to use webp extension instead of jpg 2017-02-04 17:00:18 -06:00
Phxntxm 5e31979158 Added the ability to upload .gif avatars 2017-02-04 14:04:43 -06:00
Phxntxm f65edc18ce Use the url if downloading the avatar failed 2017-01-23 16:34:35 -06:00
Phxntxm 4e0533bb87 Added a file name to avatar so that discord embeds it 2016-12-09 21:38:12 -06:00
Phxntxm 6383b0bced removed an erroneous comma 2016-12-09 21:26:33 -06:00
Phxntxm c72aff607e Added a command to provide the avatar for someone 2016-12-09 21:24:51 -06:00
Phxntxm 669d82dd52 Allowed a message to be sent with boop 2016-12-01 19:28:13 -06:00
phxntxm bf692e4c74 Pep8 changes 2016-11-29 02:05:22 -06:00
Phxntxm 354a482160 Added examples and results for all commands 2016-11-28 22:55:55 -06:00
phxntxm 8d7e31d564 Corrected the order for one of the battle outcomes 2016-10-25 21:08:09 -05:00
phxntxm 838a9c5607 Corrected how to look for the prefix 2016-10-17 12:51:02 -05:00
Phxntxm 475cbb4cb5 Used current prefix instead of the default one used 2016-10-16 20:56:39 -05:00
Phxntxm 6233eea599 Corrected a typo 2016-10-15 18:49:55 -05:00
Phxntxm 8e227ea4a4 Added some more outcomes to the battling system 2016-10-13 21:09:02 -05:00
Phxntxm a167a034d1 Corrected a typo 2016-10-02 21:55:59 -05:00
phxntxm 11e12a7f1b Corrected error caused by the last merge; fixed pep8 issues 2016-10-02 13:08:20 -05:00
Phxntxm 429339a5eb Added a hug command 2016-10-01 21:51:04 -05:00
Phxntxm c7f99e4f5e Used random.choice instead of randint to get an index of a list based on a length 2016-10-01 20:47:14 -05:00
phxntxm f5ff0e2ca3 Reenabled the battle command 2016-09-29 11:27:37 -05:00
phxntxm 84cff2b35d Disabling battling until it's been fixed 2016-09-29 01:58:51 -05:00
phxntxm 26f32f9967 Update to saving method, using a much more robust method 2016-09-28 18:39:34 -05:00
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