pengor / superthread-bot Goto Github PK
View Code? Open in Web Editor NEWDiscord bot for automation/chatting with friends
License: MIT License
Discord bot for automation/chatting with friends
License: MIT License
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.
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:
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 rolledOrder of arguments should not matter.
Results should display both what each die resolves to as well as the overall outcome (via dice cancellation).
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.
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
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.
If you know, you know.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.