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
This commit is contained in:
commit
fd9e3a9c4d
70
README.md
70
README.md
|
@ -5,51 +5,49 @@ 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, all powered by this bot and onomancer.
|
||||
|
||||
accepting pull requests, check the issues for to-dos.
|
||||
|
||||
|
||||
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
|
||||
## commands: (everything here is case sensitive, and can be prefixed with either m; or m!)
|
||||
|
||||
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.
|
||||
### 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, 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.
|
||||
- m;showallteams
|
||||
- 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.
|
||||
|
||||
### player commands:
|
||||
- m;showplayer [name]
|
||||
- displays any name's stars in a similar embed.
|
||||
- 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 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.
|
||||
|
||||
- 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.
|
||||
|
||||
- m;showteam [name]
|
||||
- you can view any saved team with this command
|
||||
|
||||
- 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`
|
||||
|
||||
- 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.
|
||||
|
||||
### 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.
|
||||
|
||||
- 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.
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
@ -705,7 +705,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.")
|
||||
|
|
Loading…
Reference in New Issue
Block a user