Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonnoftw/grlcasino
Discord Bot to Play Fun Casino Games with automatic coin management
https://github.com/jonnoftw/grlcasino
discord-bot game garlicoin grlc
Last synced: 16 days ago
JSON representation
Discord Bot to Play Fun Casino Games with automatic coin management
- Host: GitHub
- URL: https://github.com/jonnoftw/grlcasino
- Owner: JonnoFTW
- Created: 2018-01-23T02:11:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-23T01:37:06.000Z (over 6 years ago)
- Last Synced: 2024-10-14T03:47:10.973Z (about 1 month ago)
- Topics: discord-bot, game, garlicoin, grlc
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
GRLCasino
=========A discord bot to play casino games with
Usage
-----1. Use `$address` in discord chat to show the bot's wallet for you.
2. Send coins to that address with your discord name as the transaction description (eg. `@pe✌ce#1135` )
3. Use `$balance` to check your balance
4. Start a game with `$start ` to start a game with that amount of GRLC. Must be more than 0 and less than your balance
5. Another player can use `$accept @username#1234` to accept the game. The bot will roll 2 dice for each player. Player with the highest score takes the other player's GRLC. No change will take place in case of a draw
6. Use `$stats` to see your stats
7. Use `$games` to list current games
8. Use `$help` to list commands
9. Use `$withdraw ` to move all your GRLC to the specified addressDocumentation
-------------DB looks like:
Casino History:
- userId: INT
- action : StringDice Games:
- userIdA : INT
- userIdB : INT # Will be null to start with
- value : REAL # GRLC value of game
- winnerUserId : INT # null
- created : timestamp
- rollA : TEXT
- rollB : TEXTlotto_games:
- current : INT # Is this the current game?
- winnerUserId : INT
- drawTime : DATETIME
lotto_entries:
- userId : INT
- amount : REAL
- gameId : INT # the rowid of the lotto_game