Commit graph

266 commits

Author SHA1 Message Date
Sakimori 93f43ba88f added leaguerename, to rename divisions and subleagues; NO SUPPORT FOR RENAMING LEAGUES 2021-02-11 19:52:43 -05:00
Sakimori f0d589fecd added input validation and responses to leagueswapteam 2021-02-11 19:30:48 -05:00
Sakimori eced244398 implemented m;leagueswapteam 2021-02-11 19:26:33 -05:00
Sakimori 28e4e68c5a really fixed #191.
closes #190, -w or --weather flag on startgame can set weather
2021-02-11 18:34:26 -05:00
Sakimori bc7f178462 fixes #191 2021-02-11 18:19:58 -05:00
Sakimori f845bb431a stopped deleting startgame messages due to less reliance on discord as a display format 2021-02-11 18:12:36 -05:00
Sakimori 9b9a25f35a fixed bug where pauseleague didn't work between series 2021-02-10 00:00:34 -05:00
Sakimori ee7b09d30a
Merge pull request #188 from Genderdruid/master
updated the readme and wordings in the_prestige
2021-02-04 19:36:17 -05:00
Sakimori 6d6da97202 fixes #187: if webhook_id is present, abort message parsing 2021-02-04 19:32:02 -05:00
Genderdruid b5ae156120 updated the readme and wordings in the_prestige
added all of the new commands to the readme, added an FAQ, and updated wording of a few things in a few places.
2021-02-04 08:08:38 -08:00
Sakimori 2a19e47b5f fixed bug with no players meeting min stat requirements for stats 2021-02-04 02:54:15 -05:00
Sakimori 468a1e67e7 implemented #184: leagueleaders, with various stats, reading sql commands from external hotloading file in /data 2021-02-04 02:49:23 -05:00
Sakimori 9f5e2bb19a fixes #185: no second line will now print an error message 2021-02-04 01:28:33 -05:00
Sakimori cdcfbc706c fixes #186: added leagueforcestop for bot owners 2021-02-04 01:25:52 -05:00
Sakimori c9b81a6aa6 fixes #182: adds error handling and confirmation of season reset 2021-02-03 18:49:38 -05:00
Sakimori 36fb248a11 implemented heat wave and leagueseasonreset command 2021-02-03 06:55:04 -05:00
Sakimori 1bc8c39068 fixes #169: divisionstandings trims standings display to a single division 2021-02-03 04:00:20 -05:00
Sakimori 28173cd691 removed debug league commands 2021-02-03 03:37:30 -05:00
Sakimori f4aaa6ed52 fixes #171: teamschedule allows viewing of a single team's schedule in a league 2021-02-03 03:36:47 -05:00
Sakimori 6fbbefcd10 fixes #170: lists days off in schedule 2021-02-03 03:27:52 -05:00
Sakimori 93eafd2104 fixes #177: moveplayer now supports pitcher and batter arguments, just like addplayer (works as before without this argument) 2021-02-03 03:12:24 -05:00
Sakimori b556e023c4 added new field to team embeds 2021-02-03 02:51:01 -05:00
Sakimori 049a0f80c3 fixed pauseleague missing help text, added confirmation to noautopostseason 2021-01-29 15:50:34 -05:00
Sakimori eb20f4adcc added replaceplayer 2021-01-29 15:41:27 -05:00
Sakimori ccede38d49 closes #172 2021-01-23 01:43:49 -05:00
Sakimori 838b005067 added a server counter to the on-ready event 2021-01-18 02:36:24 -05:00
Sakimori 7809a9fecb Merge branch 'indev' of https://github.com/Sakimori/matteo-the-prestige into indev 2021-01-16 18:39:15 -05:00
Sakimori 012fad8850 corrected midseries restart check 2021-01-16 18:39:08 -05:00
Sakimori 29b299d8ff
Merge pull request #161 from jmaliksi/jm_157
Throw error if draft isn't formatted with new lines
2021-01-16 14:25:30 -05:00
joe fca826df39 fix #157 2021-01-16 13:36:23 -05:00
Sakimori 018c853be6 Merge branch 'indev' of https://github.com/Sakimori/matteo-the-prestige into indev 2021-01-16 01:10:02 -05:00
Sakimori df7a12e19a fixed idolize commands not being stripped 2021-01-16 01:09:59 -05:00
Sakimori 58797cf04c fixed postseason pause feature 2021-01-15 22:00:46 -05:00
Sakimori 62dbc6f533 tidyed up instructions for draft command 2021-01-15 20:27:58 -05:00
Sakimori 797e0da931 past season standings with -s flag 2021-01-15 20:15:52 -05:00
Sakimori d96355c3f0 postseason pause flag 2021-01-15 16:30:11 -05:00
Sakimori eead0c9309 finalized league ownership 2021-01-15 16:24:00 -05:00
Sakimori 6cdfa1bd5b fixed handling on league claim 2021-01-15 16:08:39 -05:00
Sakimori bac252b0be added league ownership commands 2021-01-15 16:06:52 -05:00
Sakimori b2b790b3c9 fixed tourney days 2021-01-15 06:21:25 -05:00
Sakimori 780ca4b3bf changed some language to be more clear about what tournament rounds mean what 2021-01-15 06:18:29 -05:00
Sakimori 80aaa086fb fixed threshold for missed games 2021-01-15 06:08:52 -05:00
Sakimori 26ddaf7e5a adjusted some text in discord 2021-01-15 06:00:51 -05:00
Sakimori 363d58905e fixed titles on interrupted games 2021-01-15 05:54:06 -05:00
Sakimori 92034c185e fixed incrementation 2021-01-15 05:46:50 -05:00
Sakimori 6c30ccb88a fixed season length for real this time, started saving champs 2021-01-15 05:44:59 -05:00
Sakimori 3d2df59ca1 started recording season champions 2021-01-15 05:12:55 -05:00
Sakimori 016bc2ed24 set only one tournament to increment league day 2021-01-15 05:09:23 -05:00
Sakimori fc07efa7ef tidyed up wait times for tournament games 2021-01-15 04:31:31 -05:00
Sakimori af7112367d added m;leagueschedule 2021-01-15 04:27:20 -05:00
Sakimori 5eec52db62 made tournaments use rotations when leagues are assigned 2021-01-15 03:22:26 -05:00
Sakimori e77e406470 adjusted tournaments to work on the same schedule system as leagues 2021-01-15 03:18:41 -05:00
Sakimori 8d6f6ab33a direct start to postseason, partial series support 2021-01-15 02:23:44 -05:00
Sakimori 19072f2111 implemented tiebreakers and postseason tournament 2021-01-15 02:12:30 -05:00
Sakimori 333476548d standings and wildcard commands added 2021-01-14 23:39:08 -05:00
Sakimori 4acaca0fb1 added the startleague command 2021-01-14 02:37:23 -05:00
Sakimori b83bf771ca made leagues save properly after autoplaying 2021-01-14 00:37:58 -05:00
Sakimori da8607e295 fixed some blocking bugs in startleague 2021-01-14 00:25:24 -05:00
Sakimori 5826574a1d startleague command attempt 2021-01-14 00:20:43 -05:00
Sakimori 3def1378a9 bugfixes for veil and twilight, changed veil text and emoji 2021-01-13 23:21:28 -05:00
Sakimori ae256de645 implemented thinned veil and twilight weathers 2021-01-13 22:34:46 -05:00
Sakimori 22115ee2c3 closed #142 2021-01-13 20:55:12 -05:00
Sakimori cbcb950d78 implemented league saving and loading 2021-01-13 19:20:58 -05:00
Sakimori 8255d838e5 got leagues actually functioning, i think 2021-01-13 06:32:28 -05:00
Sakimori b6e4c1069c lots of league database foundation 2021-01-13 04:23:48 -05:00
Sakimori df09a2cf97 added standings to league object and began collecting them from prestige.py 2021-01-11 06:36:13 -05:00
Sakimori 31930aab63 this should add all the infrastructure needed to run a league's games (and only *run* them, no data yet). untested 2021-01-11 06:17:14 -05:00
Sakimori c04e96f8f5 Merge branch 'indev' of https://github.com/Sakimori/matteo-the-prestige into indev 2021-01-08 13:55:59 -05:00
Sakimori 0a1f1a9e73 added connection closing statements to most database.py functions 2021-01-08 13:55:52 -05:00
Genderdruid ad6cc90e82 Update the_prestige.py 2021-01-08 10:15:50 -08:00
Genderdruid d34efcad4b a few minor text updates 2021-01-08 10:10:01 -08:00
joe 97546d7be5 erroneous merge 2021-01-06 17:45:39 -08:00
joe c15f500058 Final tweaks 2021-01-06 17:42:33 -08:00
joe c65d81a5e6 fix help text 2021-01-06 17:42:33 -08:00
joe b76c7de8bc text tweaks 2021-01-06 17:42:33 -08:00
joe b17d3a3042 pitcher fix 2021-01-06 17:42:33 -08:00
joe ba70ac4f31 some fixes 2021-01-06 17:42:33 -08:00
joe 56a1b06d28 rebase latest master 2021-01-06 17:42:33 -08:00
joe 5bc2c520ea discord commands 2021-01-06 17:41:52 -08:00
Astrid 47b5788a09 Store bot data in a data/ directory 2021-01-06 11:53:51 +01:00
Sakimori 9b7038990f strip trailing spaces from team name and slogan 2021-01-05 17:28:45 -05:00
Sakimori 84cb16ab5d added --bestof and --finalsbestof flags to tournament 2021-01-05 15:31:50 -05:00
Sakimori ccd7702db8
Merge pull request #127 from jmaliksi/jm_fix_imports
Fix onomancer import
2021-01-05 14:29:36 -05:00
Sakimori 803f633a9e changed timestamp to uuid strings, adjusted variable names in the_prestige and main_controller 2021-01-05 14:26:54 -05:00
joe 60196929fd erroneous not 2021-01-05 09:15:54 -08:00
joe 56fbe809c7 fix onomancer import with add_pitcher 2021-01-05 09:09:41 -08:00
Sakimori d331338d93 stopped games printing end-card 1 update too soon 2021-01-04 20:35:59 -05:00
Sakimori 6235564622 fixed random game end cards for real this time (probably) 2021-01-04 20:23:32 -05:00
Sakimori 5cb23c87df games will stay on "play blall" for a shorter time 2021-01-04 19:42:42 -05:00
Sakimori 772aa2f770 deletes tournament setup message, ensures more than 1 team in a tournament 2021-01-04 16:17:55 -05:00
Sakimori 32136b51dc added error message to addplayer if pitcher/batter is not specified 2021-01-04 15:45:30 -05:00
Sakimori 5870325254 Merge branch 'indev' of https://github.com/Sakimori/matteo-the-prestige into indev 2021-01-04 15:24:44 -05:00
Sakimori 5f5ee9e1f0 fixed bug in game_watcher, added game_freeze check to tournament and randomgame 2021-01-04 15:24:19 -05:00
Genderdruid 4e9e02ba12 updated the readme and the help commands to keep them consistent when it makes sense 2021-01-04 08:42:02 -08:00
Sakimori 864c1af655 made day=1 give first pitcher, not second 2021-01-03 23:43:04 -05:00
Sakimori ee11aca3c0 added a -d or --day flag to force rotation slots in games 2021-01-03 23:41:31 -05:00
Sakimori f391577792
Merge branch 'indev' into leagues 2021-01-03 23:23:02 -05:00
Sakimori ff582d8709 finished implementing tournaments, slowed game ticks to 8 seconds 2021-01-03 23:18:45 -05:00
Sakimori a2a6e9d7bb added m;randomgame 2021-01-03 17:59:13 -05:00
Sakimori 63db3ba1be added handling for teams without slogans 2021-01-03 17:16:05 -05:00