Commit Graph

52 Commits

Author SHA1 Message Date
Eli
2305d55624 refactor commands into objects 2020-12-27 03:42:09 -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