aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
...
* all_coins is a dictionary, thus needs .items() to turn it in to `nickname, co...Gravatar jesopo2018-10-161-1/+1
* Change all instances of stdout.write+return to `raise utils.EventError` in•••modules Gravatar jesopo2018-10-1614-75/+45
* Only log exceptions when they're not unsafeGravatar jesopo2018-10-161-3/+4
* 'EventManager.EventError' -> 'utils.EventError' in modules/commands.pyGravatar jesopo2018-10-161-1/+1
* Add utils.EventError, utilise it for stderr in commands.py/coins.pyGravatar jesopo2018-10-163-46/+31
* Typo in modules/coins.py.send(), 'target' -> 'target_user'Gravatar jesopo2018-10-161-1/+1
* Move redeem-amount/redeem-delay logic to their own functions in modules/coins.pyGravatar jesopo2018-10-161-8/+10
* Move logic to get all coins to it's own function in modules/coins.pyGravatar jesopo2018-10-161-10/+9
* Add missing help strings to commands in modules/coins.pyGravatar jesopo2018-10-161-0/+15
* Move some more str(coins) calls to _coin_str(coins) in modules/coins.pyGravatar jesopo2018-10-161-2/+2
* Remove unneeded complexity in modules/coins.py.reset_coinsGravatar jesopo2018-10-161-7/+3
* modules/coins.py._take should have a `server` paramGravatar jesopo2018-10-161-2/+2
* Move logic for "take from user, give to pool" (and visa-versa) it's own•••function, put user-to-user sending it's own function too Gravatar jesopo2018-10-161-31/+28
* Remove more code duplication in modules/coins.py; move parsing amounts of coins•••in to it's own function Gravatar jesopo2018-10-161-33/+38
* Remove a large amount of code duplication in modules/coins.pyGravatar jesopo2018-10-161-68/+67
* event["args"] is an array already, args_split does not exist. Also send raw•••events from src/IRCServer.py as call_unsafe to make errors like that more apparent. Gravatar jesopo2018-10-152-2/+2
* Correctly check if someone's logged in to an account with extended-joinGravatar jesopo2018-10-151-1/+1
* `event["server"]` -> `server` in modules/coins.pyGravatar jesopo2018-10-141-1/+1
* Catch ValueError from utils.parse_number, to allow other code to deal with•••complaining about invalid numbers Gravatar jesopo2018-10-141-2/+8
* Typo in src/IRCServer.py, 'defau;t' -> 'default'Gravatar jesopo2018-10-141-1/+1
* Work directly from users in modules/coins.py.interest(), so as to not give•••double-interest to two "users" online at the same time sharing the same identity Gravatar jesopo2018-10-142-2/+9
* Add !lotterywinner in modules/coins.py, to show who last won the lotteryGravatar jesopo2018-10-141-0/+12
* Actually return in modules/coins.py._total_coinsGravatar jesopo2018-10-141-1/+1
* Check automode when BitBot joins a channelGravatar jesopo2018-10-131-0/+5
* Add missing ) in modules/coins.pyGravatar jesopo2018-10-131-1/+10
* Move functionality of finding total in-circulation coins out to it's own•••function Gravatar jesopo2018-10-131-5/+6
* Add !totalcoins in modules/coins.py, to check what the total coins in•••circulation is Gravatar jesopo2018-10-131-0/+12
* Typo in src/Timers.py, 'conteext' -> 'context'Gravatar jesopo2018-10-131-1/+1
* Only get list of github-hook channels onceGravatar jesopo2018-10-131-3/+2
* Actually, don't give contexts to timers that aren't contextual. (e.g. pesistent•••timers) Gravatar jesopo2018-10-131-2/+2
* Timers._add takes a "context" paramGravatar jesopo2018-10-131-1/+1
* a Timer object can have a context yet not be a contextual timerGravatar jesopo2018-10-131-1/+1
* !lotterybuy should require authentication because it uses coinsGravatar jesopo2018-10-131-1/+1
* 'redude' -> 'reduce' (my redudes), `import random` because i forgot to, don't•••try to do lottery for networks that have no lottery tickets purchased Gravatar jesopo2018-10-131-2/+4
* Correctly remove contextual timers from src/Timers.pyGravatar jesopo2018-10-131-3/+9
* Fixed incorrect comment about what counts as high/low for roulette in•••modules/coins.py Gravatar jesopo2018-10-131-1/+1
* Give coins lost to the house in roulette to the BankGravatar jesopo2018-10-131-0/+1
* Typo in modules/coins.py, 'redcude' -> 'reduce'Gravatar jesopo2018-10-121-1/+1
* Default !lotterybuy to 1 ticketGravatar jesopo2018-10-121-1/+3
* Add !nextlottery to modules/coins.pyGravatar jesopo2018-10-121-0/+6
* Correct the logic used to find the time until the next lotteryGravatar jesopo2018-10-121-3/+3
* Use Timers.get_timers() instead of Timers.timersGravatar jesopo2018-10-121-1/+1
* Actually pass timers to src/ModuleManager.pyGravatar jesopo2018-10-121-2/+2
* Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_loadGravatar jesopo2018-10-1212-46/+37
* Add TimersContext, to be able to purge timers when modules are unloadedGravatar jesopo2018-10-122-8/+41
* Use UTC in modules/coins.pyGravatar jesopo2018-10-121-3/+3
* Implement 4-times-daily lottery in module/coins.py and address all stderrs to•••the relevent user Gravatar jesopo2018-10-121-46/+145
* _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