aboutsummaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Add !trackedwords in modules/words.pyGravatar jesopo2018-10-181-0/+8
|
* Coin amount is the second arg to !givecoinsGravatar jesopo2018-10-171-1/+1
|
* Put .strip("\n") call in the right place in modules/eval_python.pyGravatar jesopo2018-10-171-2/+2
|
* Refer to `out["out"]`, not just `out`, to get the output from evalGravatar jesopo2018-10-171-1/+1
|
* Import json in modules/eval_python.pyGravatar jesopo2018-10-171-1/+1
|
* import json in EVAL_TEMPLATE and json parse response from eval apiGravatar jesopo2018-10-171-2/+5
|
* 'import StringIO' -> 'import io' in modules/eval_python.pyGravatar jesopo2018-10-171-2/+2
|
* Escape \n in EVAL_TEMPLATE in modules/eval_python.pyGravatar jesopo2018-10-171-2/+2
|
* Add missing ":"s in EVAL_TEMPLATE in modules/eval_python.pyGravatar jesopo2018-10-171-2/+2
|
* Better handling of eval errors in modules/eval_python.pyGravatar jesopo2018-10-171-4/+16
|
* Remove additional ")"s in modules/eval_python.pyGravatar jesopo2018-10-171-1/+1
|
* html.unescape output in modules/eval_python.pyGravatar jesopo2018-10-171-3/+4
|
* Re-add `new_coins` variable in modules/coins.py.lottery, used for telling a userGravatar jesopo2018-10-171-0/+1
| | | | what their balance is after winning the lottery
* We should be changing `bet_amounts` instead of parsing a bet amount and doingGravatar jesopo2018-10-171-1/+1
| | | | nothing with it :l
* Typo on modules/set.py; 'events.call' -> 'events.on'Gravatar jesopo2018-10-161-1/+1
|
* Typo in modules/coins.py; 'utils._parse_coins' -> 'self._parse_coins'Gravatar jesopo2018-10-161-1/+1
|
* str(utils.EventError) should be written to stderr, not stdoutGravatar jesopo2018-10-161-1/+1
|
* all_coins is a dictionary, thus needs .items() to turn it in to `nickname, ↵Gravatar jesopo2018-10-161-1/+1
| | | | coins`
* Change all instances of stdout.write+return to `raise utils.EventError` inGravatar jesopo2018-10-1614-75/+45
| | | | modules
* '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-162-46/+28
|
* 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 ownGravatar jesopo2018-10-161-31/+28
| | | | function, put user-to-user sending it's own function too
* Remove more code duplication in modules/coins.py; move parsing amounts of coinsGravatar jesopo2018-10-161-33/+38
| | | | in to it's own function
* 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 rawGravatar jesopo2018-10-151-1/+1
| | | | | events from src/IRCServer.py as call_unsafe to make errors like that more apparent.
* 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 withGravatar jesopo2018-10-141-2/+8
| | | | complaining about invalid numbers
* Work directly from users in modules/coins.py.interest(), so as to not giveGravatar jesopo2018-10-141-2/+1
| | | | double-interest to two "users" online at the same time sharing the same identity
* 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 ownGravatar jesopo2018-10-131-5/+6
| | | | function
* Add !totalcoins in modules/coins.py, to check what the total coins inGravatar jesopo2018-10-131-0/+12
| | | | circulation is
* Only get list of github-hook channels onceGravatar jesopo2018-10-131-3/+2
|
* !lotterybuy should require authentication because it uses coinsGravatar jesopo2018-10-131-1/+1
|
* 'redude' -> 'reduce' (my redudes), `import random` because i forgot to, don'tGravatar jesopo2018-10-131-2/+4
| | | | try to do lottery for networks that have no lottery tickets purchased
* Fixed incorrect comment about what counts as high/low for roulette inGravatar jesopo2018-10-131-1/+1
| | | | modules/coins.py
* 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
|