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
Sakimori
fd9e3a9c4d
Merge pull request #51 from Genderdruid/master
...
updated README to be clearer and better organized, also fixed Matteo self-referring with 'I' instead of 'we' in a few places
2020-12-27 17:31:44 -05:00
Sakimori
b76a3fb3c0
moved weathers to an external config
2020-12-27 17:27:30 -05:00
Genderdruid
4e5653761e
Update the_prestige.py
2020-12-27 14:22:11 -08:00
Sakimori
8ba7a4ff45
added weather and stolen bases
2020-12-27 16:51:41 -05:00
Sakimori
8348521f12
added a return to errored startgamecommands, adjusted help text to reflect new default
2020-12-27 14:47:32 -05:00
Sakimori
7d111b1fdd
fixed typeerror at lines 131 and 135 of prestige
2020-12-27 14:40:40 -05:00
Sakimori
743c18e4f5
fixed another start game bug
2020-12-27 14:38:34 -05:00
Sakimori
30e9baef15
fixed broken game start, added call for default-length in startgame
2020-12-27 14:36:25 -05:00
Sakimori
856ba2e41a
added a note before each game with display name of creator
2020-12-27 14:28:05 -05:00
Sakimori
3750fd439a
fixed bug with saveteam errors, double play not always advancing runners, and emoji deletion on pagination
2020-12-27 14:23:17 -05:00
Eli
7d0dc57bf8
Make showteam a little more forgiving
2020-12-27 04:32:19 -05:00
Eli
ee61e9a923
Merge remote-tracking branch 'upstream/master'
2020-12-27 04:03:41 -05:00
Eli
2305d55624
refactor commands into objects
2020-12-27 03:42:09 -05:00
Sakimori
929e095f9b
fixed the reaction remove
2020-12-27 03:21:48 -05:00
Sakimori
7858e92852
have bot remove reactions to page flipping
2020-12-27 03:00:29 -05:00
Sakimori
af59437abe
disable debug speed
2020-12-27 02:12:45 -05:00
Sakimori
c91ab77b6f
sim overhaul: more baserunner motion, less double plays, better fielders' choice text
2020-12-27 02:06:43 -05:00
Sakimori
bade9c4ede
added a game queue for more than 45 consecutive games
2020-12-27 00:52:34 -05:00
Sakimori
43736e28f5
delete startgame message after game start
2020-12-26 22:53:32 -05:00
Sakimori
e369099544
added team owner id to database
2020-12-26 21:53:46 -05:00
Sakimori
663fc6c3f6
added countactivegames admin command
2020-12-26 21:36:39 -05:00
Sakimori
7f5df5b47b
fixed the math for extra innings
2020-12-26 21:21:43 -05:00
Sakimori
dbef439f76
cleanup after setupgame timeout properly
2020-12-26 21:15:19 -05:00
Sakimori
41c924a9ef
fixed some bad attribute calls and amended the extra innings calc to account for the ghost inning at the end of games
2020-12-26 21:06:33 -05:00
Sakimori
d76551d79d
added a max inning indicator to embed
2020-12-26 21:00:05 -05:00
Sakimori
97cde3652e
fixed a missing return
2020-12-26 20:56:10 -05:00
Sakimori
3e1ce7d2bf
missed some close quotes too
2020-12-26 20:43:18 -05:00
Sakimori
d330a36849
missed a paren
2020-12-26 20:42:25 -05:00
Sakimori
145cd6a8c0
made it more clear which team is batting
2020-12-26 20:35:38 -05:00
Sakimori
4330c57b67
made my own dang name consistent
2020-12-26 20:28:36 -05:00
Sakimori
1aac5fbc1a
Merge branch 'master' into master
2020-12-26 20:27:03 -05:00
Sakimori
b3d0f8c731
added more information to end_of_game embed
2020-12-26 20:23:44 -05:00
RLB
a2817a9710
i think this is just atom removing trailing whitespace when i save
2020-12-26 20:18:27 -05:00
RLB
a334d43c55
fix 0 star display, hopefully
2020-12-26 20:18:01 -05:00
Sakimori
29a87f4234
fixed the teams search list out of range error with a single "-1"
2020-12-26 20:11:05 -05:00
Sakimori
84e2bccb75
added 120 second timeout to setupgame
2020-12-26 20:09:19 -05:00
Sakimori
c6ca204c7f
added "game_freeze" to config, set 1 to stop new games. also added 30 inning limit to non-owners
2020-12-26 20:02:39 -05:00
Sakimori
1b8a597af8
removes trailing spaces from player names in saveteam
2020-12-26 18:12:38 -05:00
Eli
696d065cb7
add help command
2020-12-26 16:35:18 -05:00
Sakimori
da38583463
Update the_prestige.py
...
added a *single space*
2020-12-26 05:23:01 -05:00
Sakimori
cab164aec8
made the search results title reflect the actual search, limited search length
2020-12-26 05:09:49 -05:00
Sakimori
d8a1817bfd
fixed another typo
2020-12-26 04:51:43 -05:00
Sakimori
00fbbf71a5
added stat collection, fixed a database bug, fixed a typo, added showallteams and searchteams
2020-12-26 04:46:42 -05:00
Sakimori
1d20d8b862
fixed a stray parenthese
2020-12-26 01:07:10 -05:00
Sakimori
c9f0ebfc93
required at least 2 innings for startgame, checks player name length in save team
2020-12-26 00:27:14 -05:00
Sakimori
0ba2f35978
pins and unpins games
2020-12-26 00:17:49 -05:00
Sakimori
a1970d6077
gave half-innings and start of game some room to breathe
2020-12-26 00:08:45 -05:00
Sakimori
14c324c2cb
moved the bases into the embed, increasing max games three-fold
2020-12-25 20:47:24 -05:00
Sakimori
5f8de16d51
removed stray dot in team embeds
2020-12-25 20:38:03 -05:00
Sakimori
b81b237fd8
fixed the error messages
2020-12-24 05:43:23 -05:00
Sakimori
1197bbbccc
removed a debug print, added startgame with 2 saved teams
2020-12-24 05:18:29 -05:00
Sakimori
ab8151206b
added ;saveteam, ;showteam, ;showplayer
2020-12-24 04:51:38 -05:00
Sakimori
2ec0efefc9
fix soulscream display bug, fixed sac fly runs not scoring properly
2020-12-23 18:02:55 -05:00
Sakimori
25ab287529
broke idolizing, then fixed it
2020-12-22 21:03:27 -05:00
Sakimori
3bb98ab8a0
complete in-situ setup of a blaseball game.
2020-12-22 20:20:58 -05:00
Sakimori
74e35f71e3
added a name limit for idols, and escaped mentions from names
2020-12-22 15:15:18 -05:00
Sakimori
f9e41031ad
fixed the looping
2020-12-22 15:02:28 -05:00
Sakimori
fb566d3979
added a nifty embed/emoji combo to display games in progress nicely
2020-12-22 07:59:46 -05:00
Sakimori
ab45b5f057
functional blaseball games with a preset team.
2020-12-22 01:56:33 -05:00
Sakimori
844450c142
dialed in the simsim levers to accurately simulate baseball
2020-12-21 04:46:12 -05:00
Sakimori
8235532819
set up at-bat simulation in games.py, and a test function in the_prestige.
2020-12-21 00:33:38 -05:00
Sakimori
0141723e1b
fixed bug displaying half-stars
2020-12-20 14:05:31 -05:00
Sakimori
f194a60042
added idolize and showidol commands, as well as an easter egg!
2020-12-20 07:25:25 -05:00
Sakimori
9aea2cf9dc
added m!roman [int]; returns error string or a number in roman numerals
2020-12-20 05:28:47 -05:00
Sakimori
b3c045664b
Merge branch 'master' of https://github.com/Sakimori/matteo-the-prestige
2020-12-20 01:35:51 -05:00
Sakimori
6fd4120b8f
changed onomancer endpoint to allow for / characters
2020-12-20 01:35:48 -05:00
Sakimori
4b9af3a967
changed onomancer endpoint to allow for / characters
2020-12-20 01:31:48 -05:00
Sakimori
178d3965a8
Merge branch 'master' of https://github.com/Sakimori/matteo-the-prestige
2020-12-20 00:31:49 -05:00
Sakimori
7189257e7a
added introduction command, to be run by owner only
2020-12-20 00:16:36 -05:00
Sakimori
b1703eb076
added introduction command, to be run by owner only
2020-12-20 00:13:23 -05:00
Sakimori
d0f6ff7f09
caches soulscreams in matteo.db, valid for 7 days
2020-12-19 22:14:45 -05:00
Sakimori
30886ce7b9
functional soulscream retriever
2020-12-19 20:26:05 -05:00