From 4338e7cd7e1d152f6d1ca0463930ca08f65300f2 Mon Sep 17 00:00:00 2001 From: Genderdruid Date: Sun, 27 Dec 2020 12:38:46 -0800 Subject: [PATCH 1/6] updated README.md added better organization and rewrote many of the command descriptions for formatting consistency and clarity --- README.md | 75 ++++++++++++++++++++++++++----------------------------- 1 file changed, 36 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 8456fe9..ffb46ea 100644 --- a/README.md +++ b/README.md @@ -5,51 +5,48 @@ blaseball, blaseball, is back! in an unofficial capacity. custom players, custom teams, custom leagues (that last one is coming soonβ„’) all in discord! - - we've also got things like player idolization, easy setup for quick pick-up games featuring any players you like (including those not on a team), and onomancer lookup accepting pull requests, check the issues for to-dos + ## commands: (literally everything here is case sensitive, and can be prefixed with either m; or m!) -- m;idolize [name] - - records any name as your idol, used elsewhere. there's a limit of 70 characters. that should be *plenty*. - -- m;showidol - - displays your idol's name and stars in a nice discord embed. - -- m;showplayer [name] - - displays any name's stars in a similar embed. - -- m;setupgame - - begins setting up a 3-inning pickup game. pitchers, lineups, and team names are given during the setup process by anyone able to type in that channel. idols are easily signed up via emoji during the process. the game will start automatically after setup. - -- m;saveteam - - to save an entire team, send this command at the top of a list, with lines seperated by newlines (shift+enter in discord, or copy+paste from notepad) - - the first line of the list is your team's name (cannot contain emoji) - - the second is your team's slogan - - the rest of the lines are your players' names - - the last player is designated your pitcher - - if you did it correctly, you'll get a team embed with a prompt to confirm. hit the πŸ‘ and it'll be saved. +- team commands: + - m;saveteam + - saves a team to the database allowing it to be used for games, send this command at the top of a list, with lines seperated by newlines (shift+enter in discord, or copy+paste from notepad) + - the first line of the list is your team's name (cannot contain emoji) + - the second is your team's slogan, this should begin with an emoji followed by a space + - the next lines are your batters' names in the order you want them to appear in your lineup, minimum batters: 1, maximum batters: 12 + - the final line is your pitcher + - if you did it correctly, you'll get a team embed with a prompt to confirm. hit the πŸ‘ and it'll be saved + - m;showteam [name] + - shows information about any saved team + - m;showallteams + - shows a paginated list of all teams available for games + - m;searchteams [searchterm] + - displays paginated list of all teams whose names contain the given string -- m;showteam [name] - - you can view any saved team with this command +- player commands: + - m;showplayer [name] + - displays any name's stars, there's a limit of 70 characters. that should be *plenty* + - m;idolize [name] + - records any name as your idol, used elsewhere + - m;showidol + - displays your idol's name and stars -- m;showallteams - - this displays a paginated list of all teams available for `startgame` - -- m;searchteams [searchterm] - - displays paginated list of all teams whose names contain `searchterm` +- game commands: + - m;startgame + - starts a game with premade teams, use this command at the top of a list followed by, each in a new line: + - the away team's name + - the home team's name + - and finally, optionally, the number of innings, which must be greater than 2 and less than 31, if not included this will default to 9 + - m;setupgame + - begins setting up a 3-inning pickup game. pitchers, lineups, and team names are given during the setup process by anyone able to type in that channel. idols are easily signed up via emoji during the process. the game will start automatically after setup. -- m;startgame - - to start a game with premade teams, use this command at the top of a list as above - - the first line is the away team's name - - the second is the home team's name - - the third is the number of innings, which must be greater than 2. - -- m;credit - - shows artist credit for matteo's avatar. - -- m;roman [number] - - converts any natural number less than 4,000,000 into roman numerals. this one is just for fun. +- other commands: + - m;credit + - shows artist credit for matteo's avatar + + - m;roman [number] + - converts any natural number less than 4,000,000 into roman numerals, this one is just for fun From c795184510124296aa2c584944d0cc3a82372f5a Mon Sep 17 00:00:00 2001 From: Genderdruid Date: Sun, 27 Dec 2020 12:45:33 -0800 Subject: [PATCH 2/6] Update README.md --- README.md | 74 +++++++++++++++++++++++++++---------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index ffb46ea..9530bad 100644 --- a/README.md +++ b/README.md @@ -5,48 +5,48 @@ blaseball, blaseball, is back! in an unofficial capacity. custom players, custom teams, custom leagues (that last one is coming soonβ„’) all in discord! -we've also got things like player idolization, easy setup for quick pick-up games featuring any players you like (including those not on a team), and onomancer lookup +we've also got things like player idolization, custom team creation, easy setup for your teams to play against each other, and quick pick-up games featuring any players you like (including those not on a team), all powered by the bot and onomancer lookups accepting pull requests, check the issues for to-dos -## commands: (literally everything here is case sensitive, and can be prefixed with either m; or m!) +## commands: (everything here is case sensitive, and can be prefixed with either m; or m!) -- team commands: - - m;saveteam - - saves a team to the database allowing it to be used for games, send this command at the top of a list, with lines seperated by newlines (shift+enter in discord, or copy+paste from notepad) - - the first line of the list is your team's name (cannot contain emoji) - - the second is your team's slogan, this should begin with an emoji followed by a space - - the next lines are your batters' names in the order you want them to appear in your lineup, minimum batters: 1, maximum batters: 12 - - the final line is your pitcher - - if you did it correctly, you'll get a team embed with a prompt to confirm. hit the πŸ‘ and it'll be saved - - m;showteam [name] - - shows information about any saved team - - m;showallteams - - shows a paginated list of all teams available for games - - m;searchteams [searchterm] - - displays paginated list of all teams whose names contain the given string +### team commands: +- m;saveteam + - saves a team to the database allowing it to be used for games, send this command at the top of a list, with lines seperated by newlines (shift+enter in discord, or copy+paste from notepad) + - the first line of the list is your team's name (cannot contain emoji) + - the second is your team's slogan, this should begin with an emoji followed by a space + - the next lines are your batters' names in the order you want them to appear in your lineup, minimum batters: 1, maximum batters: 12 + - the final line is your pitcher + - if you did it correctly, you'll get a team embed with a prompt to confirm. hit the πŸ‘ and it'll be saved +- m;showteam [name] + - shows information about any saved team +- m;showallteams + - shows a paginated list of all teams available for games +- m;searchteams [searchterm] + - displays paginated list of all teams whose names contain the given string -- player commands: - - m;showplayer [name] - - displays any name's stars, there's a limit of 70 characters. that should be *plenty* - - m;idolize [name] - - records any name as your idol, used elsewhere - - m;showidol - - displays your idol's name and stars +### player commands: +- m;showplayer [name] + - displays any name's stars, there's a limit of 70 characters. that should be *plenty*, note: if you want to lookup a lot of different players you can do it here instead of spamming this a bunch and clogging up discord: https://onomancer.sibr.dev/reflect +- m;idolize [name] + - records any name as your idol, mostly for fun but also can be used for pickup games +- m;showidol + - displays your idol's name and stars -- game commands: - - m;startgame - - starts a game with premade teams, use this command at the top of a list followed by, each in a new line: - - the away team's name - - the home team's name - - and finally, optionally, the number of innings, which must be greater than 2 and less than 31, if not included this will default to 9 - - m;setupgame - - begins setting up a 3-inning pickup game. pitchers, lineups, and team names are given during the setup process by anyone able to type in that channel. idols are easily signed up via emoji during the process. the game will start automatically after setup. +### game commands: +- m;startgame + - starts a game with premade teams, use this command at the top of a list followed by, each in a new line: + - the away team's name + - the home team's name + - and finally, optionally, the number of innings, which must be greater than 2 and less than 31, if not included this will default to 9 +- m;setupgame + - begins setting up a 3-inning pickup game, pitchers, lineups, and team names are given during the setup process by anyone able to type in that channel, idols are easily signed up via emoji during the process, the game will start automatically after setup -- other commands: - - m;credit - - shows artist credit for matteo's avatar - - - m;roman [number] - - converts any natural number less than 4,000,000 into roman numerals, this one is just for fun +### other commands: +- m;credit + - shows artist credit for matteo's avatar + +- m;roman [number] + - converts any natural number less than 4,000,000 into roman numerals, this one is just for fun From e520f0162b7a9e86fc44a55614b0878aaae37f8b Mon Sep 17 00:00:00 2001 From: Genderdruid Date: Sun, 27 Dec 2020 12:52:51 -0800 Subject: [PATCH 3/6] Update README.md --- README.md | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 9530bad..14abc46 100644 --- a/README.md +++ b/README.md @@ -5,48 +5,48 @@ blaseball, blaseball, is back! in an unofficial capacity. custom players, custom teams, custom leagues (that last one is coming soonβ„’) all in discord! -we've also got things like player idolization, custom team creation, easy setup for your teams to play against each other, and quick pick-up games featuring any players you like (including those not on a team), all powered by the bot and onomancer lookups +we've also got things like player idolization, custom team creation, easy setup for your teams to play against each other, and quick pick-up games featuring any players you like, all powered by this bot and onomancer. -accepting pull requests, check the issues for to-dos +accepting pull requests, check the issues for to-dos. ## commands: (everything here is case sensitive, and can be prefixed with either m; or m!) ### team commands: - m;saveteam - - saves a team to the database allowing it to be used for games, send this command at the top of a list, with lines seperated by newlines (shift+enter in discord, or copy+paste from notepad) - - the first line of the list is your team's name (cannot contain emoji) - - the second is your team's slogan, this should begin with an emoji followed by a space - - the next lines are your batters' names in the order you want them to appear in your lineup, minimum batters: 1, maximum batters: 12 - - the final line is your pitcher - - if you did it correctly, you'll get a team embed with a prompt to confirm. hit the πŸ‘ and it'll be saved + - saves a team to the database allowing it to be used for games. send this command at the top of a list, with lines seperated by newlines (shift+enter in discord, or copy+paste from notepad). + - the first line of the list is your team's name (cannot contain emoji). + - the second is your team's slogan, this should begin with an emoji followed by a space. + - the next lines are your batters' names in the order you want them to appear in your lineup, can be any number of batters between 1 and 12. + - the final line is your pitcher. + - if you did it correctly, you'll get a team embed with a prompt to confirm. hit the πŸ‘ and it'll be saved. - m;showteam [name] - - shows information about any saved team + - shows information about any saved team. - m;showallteams - - shows a paginated list of all teams available for games + - shows a paginated list of all teams available for games which can be scrolled through. - m;searchteams [searchterm] - - displays paginated list of all teams whose names contain the given string + - displays paginated list of all teams whose names contain the given string. ### player commands: - m;showplayer [name] - - displays any name's stars, there's a limit of 70 characters. that should be *plenty*, note: if you want to lookup a lot of different players you can do it here instead of spamming this a bunch and clogging up discord: https://onomancer.sibr.dev/reflect + - displays any name's stars, there's a limit of 70 characters. that should be *plenty*. note: if you want to lookup a lot of different players you can do it here instead of spamming this a bunch and clogging up discord: https://onomancer.sibr.dev/reflect - m;idolize [name] - - records any name as your idol, mostly for fun but also can be used for pickup games + - records any name as your idol, mostly for fun but also can be used for pickup games. - m;showidol - - displays your idol's name and stars + - displays your idol's name and stars. ### game commands: - m;startgame - - starts a game with premade teams, use this command at the top of a list followed by, each in a new line: - - the away team's name - - the home team's name - - and finally, optionally, the number of innings, which must be greater than 2 and less than 31, if not included this will default to 9 + - starts a game with premade teams, use this command at the top of a list followed by each of these in a new line: + - the away team's name. + - the home team's name. + - and finally, optionally, the number of innings, which must be greater than 2 and less than 31. if not included it will default to 9. - m;setupgame - - begins setting up a 3-inning pickup game, pitchers, lineups, and team names are given during the setup process by anyone able to type in that channel, idols are easily signed up via emoji during the process, the game will start automatically after setup + - begins setting up a 3-inning pickup game. pitchers, lineups, and team names are given during the setup process by anyone able to type in that channel. idols are easily signed up via emoji during the process. the game will start automatically after setup. ### other commands: - m;credit - - shows artist credit for matteo's avatar + - shows artist credit for matteo's avatar. - m;roman [number] - - converts any natural number less than 4,000,000 into roman numerals, this one is just for fun + - converts any natural number less than 4,000,000 into roman numerals, this one is just for fun. From 48c5c15f5b7695d4f8b6d9090508ddfc8c363506 Mon Sep 17 00:00:00 2001 From: Genderdruid Date: Sun, 27 Dec 2020 13:02:11 -0800 Subject: [PATCH 4/6] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 14abc46..8d9c184 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,10 @@ accepting pull requests, check the issues for to-dos. - m;setupgame - begins setting up a 3-inning pickup game. pitchers, lineups, and team names are given during the setup process by anyone able to type in that channel. idols are easily signed up via emoji during the process. the game will start automatically after setup. -### other commands: +### other commands: +- m;help [command] + - show the instuctions from here for given command. if no command is provided, it will instead provide a list of all of the commands that you can get help with. + - m;credit - shows artist credit for matteo's avatar. From 27b938470f0169512ca15b3d2bf6290478830ebd Mon Sep 17 00:00:00 2001 From: Genderdruid Date: Sun, 27 Dec 2020 13:02:50 -0800 Subject: [PATCH 5/6] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8d9c184..2659884 100644 --- a/README.md +++ b/README.md @@ -46,10 +46,8 @@ accepting pull requests, check the issues for to-dos. ### other commands: - m;help [command] - - show the instuctions from here for given command. if no command is provided, it will instead provide a list of all of the commands that you can get help with. - + - show the instuctions from here for given command. if no command is provided, it will instead provide a list of all of the commands that you can get help with. - m;credit - - shows artist credit for matteo's avatar. - + - shows artist credit for matteo's avatar. - m;roman [number] - converts any natural number less than 4,000,000 into roman numerals, this one is just for fun. From 4e5653761e585615e3f1e52854043dba0d22ecfa Mon Sep 17 00:00:00 2001 From: Genderdruid Date: Sun, 27 Dec 2020 14:22:11 -0800 Subject: [PATCH 6/6] Update the_prestige.py --- the_prestige.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/the_prestige.py b/the_prestige.py index 14adf3c..0c0d4e0 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -361,7 +361,7 @@ async def start_game(channel): async def setup_game(channel, owner, newgame): newgame.owner = owner - await channel.send(f"Game sucessfully created!\nStart any commands for this game with `{newgame.name}` so I know who's talking about what.") + await channel.send(f"Game sucessfully created!\nStart any commands for this game with `{newgame.name}` so we know who's talking about what.") await asyncio.sleep(1) await channel.send("Who's pitching for the away team?") @@ -401,7 +401,7 @@ async def setup_game(channel, owner, newgame): await channel.send("Uh.") #pitchers assigned! - team_join_message = await channel.send(f"""Now, the lineups! I need somewhere between 1 and 12 batters. Cloning helps a lot with this sort of thing. + team_join_message = await channel.send(f"""Now, the lineups! We need somewhere between 1 and 12 batters. Cloning helps a lot with this sort of thing. React to this message with πŸ”Ό to have your idol join the away team, or πŸ”½ to have them join the home team. You can also enter names like you did for the pitchers, with a slight difference: `away [name]` or `home [name]` instead of just the name. @@ -693,7 +693,7 @@ async def save_team_batch(message, command): await message.channel.send("Message received. Pumping brakes, turning this car around. Try again, chief.") return except asyncio.TimeoutError: - await message.channel.send("Look, I don't have all day. 20 seconds is long enough, right? Try again.") + await message.channel.send("Look, we don't have all day. 20 seconds is long enough, right? Try again.") return #except: #await message.channel.send("uh.")