Commit Graph

223 Commits

Author SHA1 Message Date
kevroded
ae81961428 Merge remote-tracking branch 'upstream/master' 2021-01-06 20:47:54 -05: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
kevroded
e9abc7befd First try at adding weather to game history command 2021-01-05 23:52:23 -05: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
Kevin Rode
6ebea65a93 Reverting fuzzy select 2021-01-04 22:39:58 -05:00
Kevin Rode
b7853200da more debug 2021-01-04 22:25:13 -05:00
Kevin Rode
d669c90de3 debugging 2021-01-04 22:23:26 -05:00
Kevin Rode
c5abae79eb Added fuzzy search back 2021-01-04 22:16:57 -05:00
Kevin Rode
2d5458904a Re added tournament command 2021-01-04 22:05:29 -05:00
Kevin Rode
ceb2a2ad11 Merge remote-tracking branch 'upstream/master' 2021-01-04 22:02:33 -05: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
Kevin Rode
9e9129a462 Spelling and Fixes #2 2021-01-04 03:04:47 -05:00
Kevin Rode
e35078820a spelling 2021-01-04 03:02:56 -05:00
Kevin Rode
98409fd6c6 First try at Game History Embed 2021-01-04 03:01:51 -05:00
Kevin Rode
ebd44c6d3c Please 2021-01-04 02:40:54 -05:00
Kevin Rode
199f938e38 It is late and I make typos 2021-01-04 02:39:22 -05:00
Kevin Rode
055f7db17e Debugging get_history 2021-01-04 02:36:53 -05:00
Kevin Rode
f5cb646087 Moved db save command to the right spot 2021-01-04 02:17:39 -05:00
Kevin Rode
6393f006e8 Save game history to table in database 2021-01-04 02:12:46 -05: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
Kevin Rode
73ab5572ec Fixes #4 2021-01-03 23:05:27 -05:00
Kevin Rode
eac1e66395 Removed debug text 2021-01-03 23:01:13 -05:00
Kevin Rode
aff8f71130 fixed static cast? 2021-01-03 22:59:25 -05:00
Kevin Rode
0db17ce838 needs more debug 2021-01-03 22:57:57 -05:00
Kevin Rode
e73810024f float not int 2021-01-03 22:57:07 -05:00
Kevin Rode
420f1a62ab Remove debug line 2021-01-03 22:56:14 -05:00
Kevin Rode
cbb30cb2e9 Fixing weird json things 2021-01-03 22:55:51 -05:00
Kevin Rode
779e6058f0 debug,debug,debug... 2021-01-03 22:53:54 -05:00
Kevin Rode
e3f7bc6703 Added debug messages 2021-01-03 22:52:27 -05:00
Kevin Rode
f5af4515a9 fixed else if 2021-01-03 22:51:25 -05:00
Kevin Rode
190790a1af Added vibe lookup 2021-01-03 22:49:46 -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
kevroded
9e51ffc247 Updated with configuration changes for FredChat 2021-01-02 22:02:23 +00: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
Sakimori
acdc160ab0 fixed outs not displaying, fixed game end notification in discord 2021-01-01 12:08:11 -05:00
Elijah Steres
9c92afedc2 add league filters 2020-12-31 20:19:57 -05:00
Sakimori
2d6ba652b7 added is_league flag to game updates 2020-12-31 17:06:56 -05:00
Sakimori
0ed85a7975
adjusted start_delay and end_delay tick times 2020-12-31 15:13:02 -05:00
Sakimori
20e7e80760
Merge pull request #84 from Sakimori/redacted
website branch is... done. we think.
2020-12-31 14:51:36 -05:00
Sakimori
240f545468 corrected a double await 2020-12-31 14:19:54 -05:00
Sakimori
986135fd89 added error message if team not found 2020-12-31 14:13:36 -05:00
Sakimori
3ee7c71362 added --league [league name] flag to startgame (also -l [league name]) 2020-12-31 14:09:50 -05:00
Sakimori
dfd5fd8940 added the fuzzy search to startgame 2020-12-31 14:04:55 -05:00
Sakimori
42524cb434 removed an unused user.mention 2020-12-31 13:59:30 -05:00
Sakimori
debffec9b0 first attempt at adding league or user info to the game display 2020-12-31 13:41:32 -05:00
Sakimori
5e51648484
Update the_prestige.py
removed all those commented lines
2020-12-31 04:02:33 -05:00
Sakimori
b93fffba64 removed the 10 team limit 2020-12-31 03:53:59 -05:00
Sakimori
1cf79ce861 tidyed up some half-inning and game end weirdness, fixed end_delay, added game end pings and summary embeds in discord 2020-12-31 03:32:01 -05:00
Sakimori
36a626a8f6
increased precision of master_games_dic keys 2020-12-30 18:03:01 -05:00
Sakimori
7e2c275b6a merged import and other misc changes from master 2020-12-29 20:20:35 -05:00
joe
ce87683957 Pull real stats if present 2020-12-29 13:26:50 -08:00
Sakimori
be18cf83b7 built rudimentary css grid for games, loader.js now directs updates to appropriate grid square as they come in 2020-12-28 19:48:50 -05:00
Danny Ben-David
c059992ec8
[tweak] "Game for {user.mention}:"
`user.display_name` doesn't tag the user who requested the game. Using `user.mention` makes at tags, which also means users can search for games using Discord search (`Game for mentions:@foobar`)
2020-12-28 18:06:50 -05:00
Sakimori
96c9692d09
Merge pull request #57 from esSteres/master
Add import command for onomancer url (#26)
2020-12-28 16:32:48 -05:00
Genderdruid
96a0a8a38e Updated README and help text in the_presige
Updated all of the help text for the commands to match the text in the readme and updated the readme, fixing a few spelling/grammar errors and removing the section about and all references to the now disabled pickup game funtionality.
2020-12-28 08:05:19 -08:00
Elijah Steres
1812553c9b cache player retrieved from collection url 2020-12-28 10:27:20 -05:00
Elijah Steres
8bc3abdf4d add m;import - no cache for collections currently 2020-12-28 04:09:02 -05:00
Sakimori
2a40cbfbd2 got a web page with all current games' full display states available in json 2020-12-28 03:21:47 -05:00
Sakimori
62a96521c5
Update the_prestige.py
set max concurrent games to 10 due to a misunderstanding of the rate limits doc, removed setupgame
2020-12-27 22:22:40 -05:00
Sakimori
c1e7f189d6 added assignowner and deleteteam 2020-12-27 19:05:49 -05:00