GithubHelp home page GithubHelp logo

archie-m-vist / urist-dicehammer-rb Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 47 KB

Discord dice bot written in Ruby. Deprecated in favour of the Python version.

License: GNU General Public License v3.0

Ruby 100.00%

urist-dicehammer-rb's Introduction

urist-dicehammer

Discord dice bot written in Ruby.

Commands

!roll - rolls dice. First argument is a dice string with the following options, which can be combined:

  • !roll 1d6 rolls a six-sided die.
  • !roll 3d6 rolls three six-sided dice, giving a total and the results in order.
  • !roll 6#3d6 rolls three six-sided dice six times, with separate totals and results.
  • !roll 3d6+3 rolls three six-sided dice and adds 3 to the total. Modifier can be positive or negative.

Additional arguments to !roll are given after the dice string. Currently the only one is drop.

  • !roll 4d6 drop lowest will roll four six-sided dice and exclude the smallest result from the total. (It will still be in the results.)
  • !roll 4d6 drop 2 highest will roll four six-sided dice and exclude the largest two results from the total.

!coinflip - flips coins. Defaults to one coin, use !coinflip n to flip any number of coins.

!toggle - changes bot server-specific switches to either ''on'' or ''off''.

  • !toggle memes sets joke responses on or off for this server.

urist-dicehammer-rb's People

Contributors

archie-m-vist avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.