Giter VIP home page Giter VIP logo

superthread-bot's People

Contributors

dependabot[bot] avatar pengor avatar

Watchers

 avatar  avatar

superthread-bot's Issues

Add !help command

Add a !help command that also gets called when the user enters a malformed command.

Users need a better idea of what commands are available without reading the code.
Should also support passing an argument that is the name of another command (without the '!' prefix) to get more detailed help on how to use that command.

Improve the !roll command

The !roll command needs to be fleshed out

The !roll command hasn't been implemented yet. It should allow a user to roll Edge of the Empire (Star Wars RPG) dice.

Accepted syntax is:
!roll 1g 2y 3bu 4p 5r 6ba
and
!roll destiny

where:

  • numbers are variable and represent the quantity of each type of dice to roll
  • g is green (ability)
  • y is yellow (proficiency)
  • bu is blue (boost)
  • p is purple (difficulty)
  • r is red (challenge)
  • ba is black (setback)
  • destiny indicates a single destiny die will be rolled

Order of arguments should not matter.
Results should display both what each die resolves to as well as the overall outcome (via dice cancellation).

Add !nextfeature command

Add a !nextfeature command that lets users vote for which feature they'd like implemented next

Command procedure should be:
User: !nextfeature
For each feature in the next feature set, the bot should respond:
Do you want to vote for feature #X: <issue title here>? (where X is the issue number)
User responds: X
Bot responds: Voted for issue #X
or
Vote changed to issue #X (if the user had previously voted

The bot should only list issues tagged as enhancements and not bugs. If their next response is not a valid issue number let them know they've exited the voting procedure.

Add !destinypool command

Allow the GM to track the party's pool of destiny dice with the !destinypool command

If the GM user sends a message with the syntax:
!destinypool set 5 2
The bot will respond:
Do you want to set the destiny dice pool to 5 light-side and 2 dark-side (yes/no)?
The user will respond yes or no.
If yes, the bot will respond:
Destiny dice pool updated.
If no, the bot will respond:
No changes made.

If a non-GM user tries to use the set command they will receive an error message.

If another user (or the GM user) sends a message without the set argument, the bot will respond:

The destiny dice pool is:
5 light-side and 2 dark-side

Implement !wiki command

Add a !wiki command to search wiki.superthread.org using the arguments given

Send a message consisting of the first paragraph from a page that matches the user's search terms (via command arguments) on wiki.superthread.org or send a message that the page wasn't found.

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.