aboutsummaryrefslogtreecommitdiff
path: root/modules/coins.py
Commit message (Collapse)AuthorAgeFilesLines
...
* _give_from_pool/_take_from_pool take a `server` argumentGravatar jesopo2018-10-121-2/+2
|
* Show cents in !bank balance in modules/coins.pyGravatar jesopo2018-10-121-2/+2
|
* Introduce a finite coin system in modules/coins.pyGravatar jesopo2018-10-121-1/+35
|
* modules/coins.py.send should be checking user_coins before the send amount isGravatar jesopo2018-10-121-1/+1
| | | | taken away, not after
* Support unit-based bets (1k/1m/1b) in modules/coins.pyGravatar jesopo2018-10-121-0/+2
|
* Don't calculate `user_coins(+/-)coin_bet` twiceGravatar jesopo2018-10-111-6/+6
|
* Remove one-too-many indent in modules/coins.pyGravatar jesopo2018-10-111-1/+1
|
* Fix column obsessionGravatar panicbit2018-10-111-8/+14
|
* Show new coin total after flipping a coinGravatar panicbit2018-10-111-4/+6
|
* randbelow takes one argumentGravatar jesopo2018-10-101-1/+1
|
* Support coin bets without a whole number (e.g. '0.1' can be '.1')Gravatar jesopo2018-10-101-1/+1
|
* Use a better RNG in modules/coins.py (secrets.choice/secrets/randbelow)Gravatar jesopo2018-10-101-3/+3
|
* Move 'top 10' logic to utils, add !wordiest to modules/words.pyGravatar jesopo2018-10-041-6/+5
|
* Move src/Utils.py in to src/utils/, splitting functionality out in to modules ofGravatar jesopo2018-10-031-12/+12
| | | | related functionality
* Switch to using docstring for usage, permission and require_modeGravatar jesopo2018-09-301-18/+20
|
* Add src/Cache.py, use it in modules/coins.pyGravatar jesopo2018-09-291-8/+10
|
* Remove cyclical references to IRCBotGravatar jesopo2018-09-281-2/+2
|
* Change old-style event hook in coins.pyGravatar jesopo2018-09-271-1/+1
|
* Switch to using @Utils.hook and docstrings for event hooksGravatar jesopo2018-09-261-28/+37
|
* Move most code in root directory to src/Gravatar jesopo2018-09-241-1/+1
|
* Remove empty spaces in coins.pyGravatar jesopo2018-09-241-2/+0
|
* Remove superfluous function.Gravatar dngfx2018-09-231-17/+0
|
* Remove intrusive styling.Gravatar dngfx2018-09-231-2/+2
|
* Add setcoins command for admins, for people that abuse the coin game, or ↵Gravatar dngfx2018-09-231-2/+21
| | | | rewards and such.
* Refactor everything to use delimited eventsGravatar jesopo2018-09-191-1/+1
|
* Add !givecoins to coins.pyGravatar jesopo2018-09-051-8/+29
|
* protect_registered doesn't exist anymoreGravatar jesopo2018-09-051-2/+2
|
* Get user to do get_id() on in coins.pyGravatar jesopo2018-09-051-1/+2
|
* Add another control to prevent coin duplication if someone manages to send coinsGravatar jesopo2018-09-051-1/+5
| | | | to themselves
* Don't use IRCUser.id ever, use IRCUser.get_id()Gravatar jesopo2018-09-051-1/+1
|
* give an Exports object (actually, ExportsContex object) to each module, toGravatar jesopo2018-09-021-1/+1
| | | | facilitate things like !set and !channelset without using the events system
* Give modules event objects with "context"s, to facilitate purging all the eventGravatar jesopo2018-08-311-9/+9
| | | | hooks for a module
* Add the ability to only require authentication if your nickname is registeredGravatar jesopo2018-08-281-2/+2
|
* Only allow users to send coins to users that have had coins beforeGravatar jesopo2018-08-281-2/+7
|
* Require authentication to use or potentially lose coinsGravatar jesopo2018-08-281-4/+3
|
* Add !resetcoins in coins.pyGravatar jesopo2018-08-281-0/+17
|
* Prevent users sending coins to themselvesGravatar jesopo2018-08-251-0/+3
|
* Show spin colour, make sure there's bet amounts for all bets, fix street regex,Gravatar jesopo2018-08-181-10/+19
| | | | show total winnings and support low/high for !roulette in coins.py
* Support multiple bets in one go with !roulette in coins.pyGravatar jesopo2018-08-161-55/+80
|
* Added streets and big/small to !rouletteGravatar jesopo2018-08-151-6/+19
|
* implemented !roulette in coins.pyGravatar jesopo2018-08-151-0/+88
|
* Use regex match to avoid coin values less than 0.01Gravatar jesopo2018-08-131-7/+13
|
* Round up when checking zeronessGravatar jesopo2018-08-101-4/+4
|
* Prevent highlighting users in !wordusers and !richestGravatar jesopo2018-08-101-3/+3
|
* don't permit 0-coin flipsGravatar jesopo2018-08-101-1/+2
|
* fixed filtering out bankrupt users from !richestGravatar jesopo2018-08-101-1/+2
|
* Fix "decimal" typo in !richestGravatar jesopo2018-08-101-1/+1
|
* Switch to using Decimal in coins.py, floats are weird!Gravatar jesopo2018-08-101-35/+42
|
* Have 2 decimal places for coins!Gravatar jesopo2018-08-101-26/+29
|
* A 10 second interval for interest rates is not goodGravatar jesopo2018-08-101-1/+3
|