simsim discord bot
Go to file
Sakimori 6e69117e62
Merge pull request #114 from Sakimori/leagues
implements tournaments and a foundation for leagues
2021-01-03 23:23:16 -05:00
.github Added initial dockerfile 2021-01-01 14:23:18 -05:00
matteo_env got a web page with all current games' full display states available in json 2020-12-28 03:21:47 -05:00
sql scripts adjusted game diplay for half-inning changeover, changed title of web page 2020-12-30 02:48:39 -05:00
static css fixes x_x 2021-01-03 15:24:50 -05:00
templates css fixes x_x 2021-01-03 15:24:50 -05:00
.DS_Store css changes and add title field 2021-01-03 15:09:31 -05:00
.gitattributes Add .gitignore and .gitattributes. 2020-12-19 19:07:51 -05:00
.gitignore edited gitignore 2020-12-29 00:02:22 -05:00
database.py 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
debug storage.py added ;saveteam, ;showteam, ;showplayer 2020-12-24 04:51:38 -05:00
Dockerfile typo 2021-01-01 14:24:34 -05:00
games.py Merge branch 'indev' into leagues 2021-01-03 23:23:02 -05:00
leagues.py finished implementing tournaments, slowed game ticks to 8 seconds 2021-01-03 23:18:45 -05:00
main_controller.py finished implementing tournaments, slowed game ticks to 8 seconds 2021-01-03 23:18:45 -05:00
onomancer.py Pull real stats if present 2020-12-29 13:26:50 -08:00
README.md added another backer 2021-01-02 16:30:47 -05:00
requirements.txt added requirements.txt 2020-12-31 13:37:00 -05:00
roman.py added m!roman [int]; returns error string or a number in roman numerals 2020-12-20 05:28:47 -05:00
the_prestige.py Merge branch 'indev' into leagues 2021-01-03 23:23:02 -05:00
the-prestige.pyproj m;starttournament now starts a debug tournament 2021-01-03 06:06:51 -05:00
the-prestige.sln added introduction command, to be run by owner only 2020-12-20 00:16:36 -05:00

matteo-the-prestige

simsim discord bot

blaseball, blaseball, is back! in an unofficial capacity. this is completely unaffiliated with the game band

custom players, custom teams, custom leagues (that last one is coming soon™) all set up in discord and watchable at https://simsim.sibr.dev

we've also got things like custom team creation, easy setup for your teams to play against each other, and player idolization, all powered by this bot and onomancer.

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 entries separated by new lines (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 line is your team's icon and slogan, this should begin with an emoji followed by a space, followed by a short slogan.
      • the next lines are your batters' names in the order you want them to appear in your lineup, lineups can contain any number of batters between 1 and 12.
      • the final line is your pitcher's name.
    • 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]
    • shows a paginated list of all teams whose names contain the given search term.
  • m;deleteteam [teamname]
    • allows you to delete the team with the provided name if you are the owner of it, gives a confirmation first to prevent accidental deletions. if it isn't letting you delete your team, you probably created it before teams having owners was a thing, contact xvi and xie can assign you as the owner.
  • m;import
    • imports an onomancer collection as a new team. you can use the new onomancer simsim setting to ensure compatibility.

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 on onomancer instead of spamming this command a bunch and clogging up discord: https://onomancer.sibr.dev/reflect
  • m;idolize [name]
    • records any name as your idol, mostly for fun.
  • m;showidol
    • displays your idol's name and stars.

game commands:

  • m;startgame
    • 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:
      • 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.

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.
  • 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.

patreon!

these folks are helping me a ton via patreon, and i cannot possibly thank them enough:

  • Ale Humano
  • Chris Denmark
  • Astrid Bek
  • Kameleon