Skip to content

This is a copy of https://github.com/WouterBau/ShadowRoller made to store the version during the talk ".NET DevOps Revolution: Flexibility and Quality Control with Docker's Adaptive Arsenal"

License

Notifications You must be signed in to change notification settings

WouterBau/ShadowRoller-NET-DevOps-Revolution-Docker

Repository files navigation

Build Status Azure DevOps tests Azure DevOps coverage Coverage Lines of Code

Technical Debt Vulnerabilities Code Smells Bugs Mutation testing badge

ShadowRoller

A small Discord bot currently set up as an easier way to resolve ShadownRun 5 tests. It reads and sends messages in the channel they're invited to. It calculates the hits and whether you (critically) glitched.

Commands

Commands always start with !sr- to trigger the robot to answer and calculate.

Roll amount dice !sr-roll XdY... Z ...

This will roll the specified X amount of dY dice collections and calculate a sum result based on it with the provided collection of Z modifiers.

Ex.: !sr-roll 4d6 1d8 2 -1

  • X : Amount of dice to roll.
  • Y : Amount sides of the requested die
  • Z : Modifiers for the end result (optional)

Test by abilities and skills !sr-sr5 X Y ... [Z]

This will roll an amount of 6d dice based on the collection of attribute values passed in and calculate the ShadowRun result based on the values and provided limit.

In other words, this will sum up all values provided first.

Ex.: !sr-test 1 4 2 [3]

  • X Y ... : List of attribute and skill values to use in a test. It makes a sum of these values to use as the dice pool for the roll.
  • [Z] : Limit of hits (Optional)

Build & Run

Run the following commands in the root of the repository to build and run the bot. Store the Discord token in a local-only .env file in the src/ShadowRoller.DiscordBot folder.

docker build --pull --rm -t shadowrollerdiscordbot:latest -f "src\ShadowRoller.DiscordBot\Dockerfile" .

docker run --rm --env-file ./src/ShadowRoller.DiscordBot/.env --name shadowrollerdiscordbot shadowrollerdiscordbot:latest

About

This is a copy of https://github.com/WouterBau/ShadowRoller made to store the version during the talk ".NET DevOps Revolution: Flexibility and Quality Control with Docker's Adaptive Arsenal"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •