aboutsummaryrefslogtreecommitdiff
path: root/modules/coins.py
Commit message (Collapse)AuthorAgeFilesLines
* 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 itGravatar jesopo2018-10-231-6/+10
| | | | correctly but still give back your bet amount
* Switch back to only taking losses when they're losses, instead of taking payinGravatar jesopo2018-10-231-5/+4
| | | | and then giving it back after the roulette spin
* _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 aGravatar jesopo2018-10-221-2/+3
| | | | user has a 'default' named wallet
* 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 theGravatar jesopo2018-10-211-1/+1
| | | | wallet for a given default type
* 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 toGravatar jesopo2018-10-211-9/+13
| | | | !defaultwallet
* '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 forGravatar jesopo2018-10-211-4/+8
| | | | lottery winnings
* '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
|
* Typo in modules/coins.py, 'nickanme' -> 'nickname'Gravatar jesopo2018-10-201-1/+1
|
* _take takes a `server` paramGravatar jesopo2018-10-201-1/+1
|
* Add wallets to usage strings and add missing help in modules/coins.pyGravatar jesopo2018-10-201-5/+13
|
* Use the correct arg_split index for parsing wallet in !givecoinsGravatar jesopo2018-10-201-2/+2
|
* Parse in/out wallet in the context of their relevant usersGravatar jesopo2018-10-191-5/+8
|
* We should be using _take, not _set_user_coins in !rouletteGravatar jesopo2018-10-191-1/+1
|
* Actually by-default give people the default walletGravatar jesopo2018-10-191-1/+1
|
* Use genexprs for sum() throughout modules/coins.pyGravatar jesopo2018-10-191-4/+4
|
* send() should check all user coins when checking for redeem-amountGravatar jesopo2018-10-191-2/+2
|
* _default_wallets takes a `user` paramGravatar jesopo2018-10-191-1/+1
|
* Dangerous typo in modules/coins.py - 'wallet' -> 'wallets'Gravatar jesopo2018-10-191-1/+1
|
* Typo in modules/coins.py, 'DEFAUT' -> 'DEFAULT'Gravatar jesopo2018-10-191-1/+1
|
* Protect against unknown wallets, show "new total" of output wallet when a coinGravatar jesopo2018-10-191-4/+13
| | | | flip is won
* Correctly pass wallet through in _give/_take/_moveGravatar jesopo2018-10-191-4/+4
|
* _user_has_wallet takes a `user` param!Gravatar jesopo2018-10-191-2/+2
|
* Typo in modules/coins.py, "len(list > 2)" -> "len(list) > 2"Gravatar jesopo2018-10-191-1/+1
|
* Add another missing ")" in modules/coins.pyGravatar jesopo2018-10-191-1/+1
|