matteo-the-prestige/README.md

89 lines
4.9 KiB
Markdown
Raw Normal View History

2020-12-25 22:34:11 +00:00
# matteo-the-prestige
2020-12-26 06:01:30 +00:00
# simsim discord bot
2020-12-25 22:34:11 +00:00
2021-01-03 21:35:09 +00:00
blaseball, blaseball, is back! in an unofficial capacity. this is completely unaffiliated with the game band.
2020-12-25 22:34:28 +00:00
2021-01-03 21:35:09 +00:00
custom players, custom teams, custom leagues (that last one is coming soon™) all set up in discord and watchable at https://simsim.sibr.dev, all powered by this bot and onomancer.
2020-12-25 22:34:11 +00:00
2021-01-03 21:35:09 +00:00
if you would like to add Matteo to your server to be able to set up teams and games, you can do so with this link: https://discord.com/api/oauth2/authorize?client_id=789956166796574740&permissions=388160&scope=bot
2020-12-25 22:57:47 +00:00
2020-12-27 20:52:51 +00:00
accepting pull requests, check the issues for to-dos.
2020-12-26 06:01:30 +00:00
2020-12-27 20:45:33 +00:00
## commands: (everything here is case sensitive, and can be prefixed with either m; or m!)
### team commands:
2021-01-03 05:47:38 +00:00
#### creation and deletion:
2020-12-27 20:45:33 +00:00
- m;saveteam
2021-01-03 21:35:09 +00:00
- saves a team to the database allowing it to be used for games. use this command at the top of a list with each of these in a new line:
- the team's name (cannot contain emoji).
- the team's icon and slogan, generally this is an emoji followed by a space, followed by a short slogan.
2021-01-03 05:47:38 +00:00
- a blank line.
2021-01-03 21:35:09 +00:00
- the batters' names in the order you want them to appear in your lineup, each in its own line. lineups can contain any number of batters between 1 and 12.
- a blank line.
- the pitchers' names in the order you want them to appear in your rotation. rotations can contain any number of pitchers between 1 and 8.
2020-12-27 20:52:51 +00:00
- if you did it correctly, you'll get a team embed with a prompt to confirm. hit the 👍 and it'll be saved.
2021-01-03 05:47:38 +00:00
- m;deleteteam [teamname]
2021-01-03 21:35:09 +00:00
- allows you to delete the team with the provided name. requires team ownership. gives a confirmation first to prevent accidental deletions.
2021-01-03 05:47:38 +00:00
- m;import
- imports an onomancer collection as a new team. you can use the new onomancer simsim setting to ensure compatibility.
2021-01-03 21:35:09 +00:00
#### editing (all of these commands require ownership of the team used):
- m;addplayer batter/pitcher [team name] [player name]
- adds a new player to the end of your team, either in the lineup or rotation depending on which version you use. use addplayer batter or addplayer pitcher at the top of a list with each of these in a new line:
2021-01-03 05:47:38 +00:00
-the name of the team you want to add the player to.
-the name of the player you want to add to the team.
2021-01-03 21:35:09 +00:00
- m;moveplayer [team name] [player name] [new lineup/rotation position number]
- changes the position of a player in the lineup and rotation. use this command at the top of a list with each of these in a new line:
2021-01-03 05:47:38 +00:00
- the name of the team you want to move the player on.
- the name of the player you want to move.
- the position you want to move them too, indexed with 1 being the first position of the lineup or rotation.
- m;swapsection [team name] [player name]
2021-01-03 21:35:09 +00:00
- swaps a player from the lineup to rotation or rotation to lineup. use this command at the top of a list followed by each of these in a new line:
2021-01-03 05:47:38 +00:00
- the name of the team you want to swap the player on.
- the name of the player you want to swap.
- m;removeplayer [team name] [player name]
2021-01-03 21:35:09 +00:00
- removes a player from your lineup or rotation. if there are multiple copies of the same player on a team this will delete the first one. use this command at the top of a list with each of these in a new line:
2021-01-03 05:47:38 +00:00
- the name of the team you want to remove the player from.
2021-01-03 21:35:09 +00:00
- the name of the player you want to remove.
2021-01-03 05:47:38 +00:00
#### viewing and searching:
2020-12-27 20:45:33 +00:00
- m;showteam [name]
2020-12-27 20:52:51 +00:00
- shows information about any saved team.
2020-12-27 20:45:33 +00:00
- m;showallteams
2020-12-27 20:52:51 +00:00
- shows a paginated list of all teams available for games which can be scrolled through.
2020-12-27 20:45:33 +00:00
- m;searchteams [searchterm]
2020-12-27 22:46:26 +00:00
- shows a paginated list of all teams whose names contain the given search term.
2020-12-30 16:33:01 +00:00
2020-12-27 20:45:33 +00:00
### player commands:
- m;showplayer [name]
2020-12-27 22:46:26 +00:00
- 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 on onomancer instead of spamming this command a bunch and clogging up discord: https://onomancer.sibr.dev/reflect
2020-12-27 20:45:33 +00:00
- m;idolize [name]
- records any name as your idol, mostly for fun.
2020-12-27 20:45:33 +00:00
- m;showidol
2020-12-27 20:52:51 +00:00
- displays your idol's name and stars.
2020-12-26 06:01:30 +00:00
2020-12-27 20:45:33 +00:00
### game commands:
- m;startgame
2021-01-03 21:35:09 +00:00
- starts a game with premade teams made using saveteam. use this command at the top of a list followed by each of these in a new line:
2020-12-27 20:52:51 +00:00
- the away team's name.
- the home team's name.
2021-01-03 21:35:09 +00:00
- optionally, the number of innings, which must be greater than 2 and less than 31. if not included it will default to 9.
2020-12-27 20:45:33 +00:00
2020-12-27 21:02:11 +00:00
### other commands:
- m;help [command]
- shows the instructions from here for given command. if no command is provided, it will instead provide a list of all of the commands that instructions can be provided for.
2020-12-27 20:45:33 +00:00
- m;credit
2020-12-27 21:02:50 +00:00
- shows artist credit for matteo's avatar.
2020-12-27 20:45:33 +00:00
- m;roman [number]
2020-12-27 20:52:51 +00:00
- converts any natural number less than 4,000,000 into roman numerals, this one is just for fun.
2020-12-27 23:02:37 +00:00
## patreon!
these folks are helping me a *ton* via patreon, and i cannot possibly thank them enough:
- Ale Humano
2020-12-28 00:43:41 +00:00
- Chris Denmark
2020-12-29 21:55:22 +00:00
- Astrid Bek
2021-01-02 21:30:47 +00:00
- Kameleon