-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command to create bet for fun #44
Comments
vai corinthians |
1 similar comment
vai corinthians |
vai sao paulo |
VAI CORINTHIANS |
1 similar comment
VAI CORINTHIANS |
⬛️🟥⬛️🟥 |
VAI CORINTHIANS 🦅🦅 |
VAI CORINTHIANS!!! |
Avanti palestra😝 |
VAI CURINTIA |
VAI CORINTHIANS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the idea?
It must be able to create a BET pool, for example,
!bet corinthians x sao paulo
, then, users from the group could bet for fun on corinthians or sao paulo.Then, once starting a new bet users could bet on it and create the odds based on this.
Since it is for fun, initially, it won't need payments.
Validations
!bet corinthians x sao paulo
team1 x team2, if out of this pattern it must return an errorside commands
!bet-odds
- would return the odds of an active bet, it must return an error if any bet active!bet-odd team1 10
- it must create a new bet odd in the specific team, it must follow the patternbet-odd <team≥ <amount>
, it must check if already has a bet active to the user!bet-end <team winner>
it must end an active bet, show results. based on team winner, list of winners and loser, and removeBet
andBetOdd
collections entries with removedAt field being filled with new Date()Architecture
Bet
Example of usage
The text was updated successfully, but these errors were encountered: