Commit graph

249 commits

Author SHA1 Message Date
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
Sakimori 1838e9198a added weather to discord embed at end of game 2021-01-03 16:57:41 -05:00
Sakimori 5e00d0d271 moved the team fuzzy searching to a get_team_fuzzy_search for ease of coding 2021-01-03 16:48:51 -05:00
Sakimori 5697c5dbb3 got leagues up to date with indev 2021-01-03 16:33:45 -05:00
Sakimori 222d2f2fba fixed some inconsestencies with new commands 2021-01-03 16:29:56 -05:00
Sakimori 2c14d7cf73 added win values to debug tourney to test win seeding 2021-01-03 06:56:40 -05:00
Sakimori 527170a81e fixed tournament blocking everything else 2021-01-03 06:30:07 -05:00
Sakimori d5f2ceeac9 set max innings of debug tournament round to 3 for faster testing 2021-01-03 06:09:27 -05:00
Sakimori 12255e3eef m;starttournament now starts a debug tournament 2021-01-03 06:06:51 -05:00
Sakimori f16cee6f84 added error messages to not enough lines on new commands 2021-01-03 03:55:03 -05:00
Sakimori 28dca13f53 moved league work to new branch in case not ready for monday release 2021-01-03 03:51:45 -05:00
Elijah Steres 09375e9fe9 add game query param that bumps game to top 2021-01-02 11:52:06 -05:00
Sakimori e2eb77b1ef fully implemented heavy snow and slight tailwind weathers. removed supernova from the pool 2021-01-02 05:42:14 -05:00
Sakimori 23431ba424 Merge branch 'indev' of https://github.com/Sakimori/matteo-the-prestige into indev 2021-01-02 04:03:05 -05:00
Sakimori 00e4426e56 added moveplayer, removeplayer, and addplayer for roster management 2021-01-02 04:02:57 -05:00
Elijah Steres 5bd45bacf8 make startgame command post link to league 2021-01-02 03:05:54 -05:00
Sakimori 07a7c5c3c3 added rotations to teams, and automatic conversion. updated saveteam to new format, supporting rotation. games choose random pitcher 2021-01-02 01:10:52 -05:00
Sakimori 9c4eae8ec1 fixed game_watcher, maybe 2021-01-01 16:24:05 -05:00