aboutsummaryrefslogtreecommitdiff
path: root/modules/coins.py
Commit message (Expand)AuthorAgeFilesLines
* change Cache.py to be key:valueGravatar jesopo2019-09-021-1/+1
* Add `depends-on` hashflags to relevant modulesGravatar jesopo2019-05-251-0/+3
* Stop using prevent_highlight. it ruins terminals on OS XGravatar jesopo2019-05-041-2/+2
* Also human-ify coin bet amounts in a flipGravatar jesopo2019-03-211-1/+1
* Show coins in "human" form (with commas) in flip wins/lossesGravatar jesopo2019-03-211-2/+3
* Actually take coins when the house wins (coins)Gravatar jesopo2019-03-011-0/+1
* Don't take a users coins when they make an invalid roulette bet (coins.py)Gravatar jesopo2019-02-051-2/+2
* `user` doesn't exist in _move(), it's `user1` (coins.py)Gravatar jesopo2019-02-021-1/+1
* Prevent users partaking in the lottery if doing so would put their coin total•••below the coin redemption amount (coins.py) Gravatar jesopo2019-01-251-0/+8
* 'self._get_all_user_coins' -> 'self._get_user_coins', forgot to change this when•••we moved back away from wallets (coins.py) Gravatar jesopo2019-01-241-1/+1
* Typo, `server.get_value` -> `server.get_setting` (coins.py)Gravatar jesopo2019-01-231-1/+1
* Disable coin interest by default (coins.py)Gravatar jesopo2019-01-231-0/+2
* Change another usage of `coins` when it should be `all_coins` (coins.py)Gravatar jesopo2019-01-231-1/+1
* Fix `coins` name collision (coins.py)Gravatar jesopo2019-01-231-3/+3
* Remove wallet and bank logic (coins.py)Gravatar jesopo2019-01-231-284/+44
* Don't try to call .isdigit() on an int object in coin.py.lottery_buyGravatar jesopo2018-12-051-1/+1
* Make coins.py compatible with versions of python under 3.6Gravatar jesopo2018-11-301-4/+4
* Show wallet balances in a human format (with ","s)Gravatar jesopo2018-11-021-1/+1
* Don't let users bet 0 coinsGravatar jesopo2018-11-021-3/+6
* Show !coins in a human format (with ","s)Gravatar jesopo2018-11-021-1/+1
* Comma-delimit numbers in the !richest responseGravatar jesopo2018-10-311-1/+3
* Redo lottery timer in modules/coins.pyGravatar jesopo2018-10-241-0/+1
* `.items()` -> `.values()`Gravatar jesopo2018-10-231-1/+1
* Typo in modules/coins.py, 'amount_amount_total' -> 'bet_amount_total'Gravatar jesopo2018-10-231-1/+1
* Re-move taking payin to before payout, better logic around win/odds to show it•••correctly but still give back your bet amount Gravatar jesopo2018-10-231-6/+10
* Switch back to only taking losses when they're losses, instead of taking payin•••and then giving it back after the roulette spin Gravatar jesopo2018-10-231-5/+4
* _take already gives back to poolGravatar jesopo2018-10-231-1/+0
* Don't try to parse wallet args as a bet amount in modules/coins.pyGravatar jesopo2018-10-231-1/+2
* Roulette wins should include the payinGravatar jesopo2018-10-221-1/+3
* When deleting a wallet, shift funds to default 'in' wallet instead of assuming a•••user has a 'default' named wallet Gravatar jesopo2018-10-221-2/+3
* Fix indication of optionalness of `wallet` param of !defaultwalletGravatar jesopo2018-10-221-1/+1
* Copypaste fail in modules/coins.py, 'row' -> 'i'Gravatar jesopo2018-10-221-1/+1
* Add lcorner/rcorner bets to !roulette in modules/coins.pyGravatar jesopo2018-10-221-1/+16
* Add double streets to !roulette in modules/coins.pyGravatar jesopo2018-10-221-0/+6
* Fix copypaste fail in modules/coins.py.move_coinsGravatar jesopo2018-10-221-1/+1
* Add !movecoins in modules/coins.pyGravatar jesopo2018-10-221-0/+19
* Dict are immutable, duh.Gravatar jesopo2018-10-221-1/+1
* Typo in help string in modules/coins.py, 'By' -> 'Buy'Gravatar jesopo2018-10-221-1/+3
* _default_wallet is not _default_wallet_forGravatar jesopo2018-10-221-2/+2
* _default_wallets takes a `user` paramGravatar jesopo2018-10-221-1/+1
* _default_wallet_for is for find the default type of a given wallet, not the•••wallet for a given default type Gravatar jesopo2018-10-211-1/+1
* Add missing .items() to dict iteration in modules/coins.pyGravatar jesopo2018-10-211-1/+1
* Show default wallet for wallet types when you don't specify 2 args to•••!defaultwallet Gravatar jesopo2018-10-211-9/+13
* 'DEFAULT_WALLETS' -> 'WALLETS_DEFAULTS'Gravatar jesopo2018-10-211-1/+1
* Add missing "," in modules/coins.pyGravatar jesopo2018-10-211-1/+1
* use default "interest" wallet for interest and default "lottery" wallet for•••lottery winnings Gravatar jesopo2018-10-211-4/+8
* 'WALLET_DEFAULT' -> 'WALLET_DEFAULT_NAME'Gravatar jesopo2018-10-211-12/+12
* prevent !removewallet on any wallet that's configured as a defaultGravatar jesopo2018-10-211-5/+15
* Add configurable default wallets for different actions!Gravatar jesopo2018-10-211-3/+30
* wallet args in !roulette need to have their position calculated!Gravatar jesopo2018-10-211-2/+5