Commit graph

270 commits

Author SHA1 Message Date
moneromooo
94c31f263f User error when asking for commands for a module that does not exist 2015-04-25 10:31:12 +01:00
moneromooo
dc96f38c08 payment: fix unlock time semantics
It's a delta height not a block height
2015-04-18 10:15:46 +01:00
moneromooo
750b38d7b1 utils: add NetworkFromIdentity 2015-04-10 18:37:12 +01:00
moneromooo
58c16dd48d Add a kitsune bakuchi module 2015-03-22 09:55:32 +00:00
moneromooo
1efc378ce2 Add events and event handlers, and IRC join/part events 2015-03-21 09:18:33 +00:00
moneromooo
cea60feeae Create accounts on linking if they do not exist
This can happen if someone tries to link to another account
before doing any other action that creates an account.
2015-03-19 20:56:03 +00:00
moneromooo
ad76fec535 payment: auto create account on giving someone a payment id 2015-03-17 21:11:54 +00:00
moneromooo
98f102f497 withdraw: fix old variable use
nick is replaced by identity
2015-03-17 20:54:25 +00:00
moneromooo
56e9473f46 tipping: add a monero amount as well as the denominated amount 2015-03-17 19:29:35 +00:00
moneromooo
ec95e55091 twitter: add optional prefix text when linking, and shorter links 2015-03-17 09:09:01 +00:00
moneromooo
43cead6582 twitter: allow random text after tipping 2015-03-17 09:08:32 +00:00
moneromooo
c51bde4afa twitter: recognize integers as amounts, not just floats 2015-03-17 09:07:26 +00:00
moneromooo
38afd5000b twitter: fix update_status for tweepy API change 2015-03-17 09:06:33 +00:00
moneromooo
37b663bcfe twitter: log list of tweets received, for debugging ease 2015-03-16 21:01:04 +00:00
moneromooo
b757441c15 twitter: remove @ from user name when tipping 2015-03-16 21:00:47 +00:00
moneromooo
a4357a3ee7 twitter: Fix last id initialization
The previous code was right, I got confused with reddit.
It just needs to guard against it not being in the DB - init to 0.
2015-03-16 20:59:49 +00:00
moneromooo
1aad5fce5d twitter: remove nonsensical long cast 2015-03-16 19:25:51 +00:00
moneromooo
33aa1debca reddit: fix amount parsing
It was only allowing floats (ie, with a decimal dot).
2015-03-13 20:13:00 +00:00
moneromooo
890b385c03 reddit: ignore posts from an author with no name 2015-03-13 20:12:25 +00:00
moneromooo
8564fc6990 reddit: fix missing comments
is_root is a root *comment*, not the main post
2015-03-13 20:11:43 +00:00
moneromooo
e1101ec592 reddit: guard against missing is_root field 2015-03-13 19:18:50 +00:00
moneromooo
5d1bbfc6a0 withdraw: fix withdraw with no amount nor payment id 2015-02-28 18:31:20 +00:00
moneromooo
699cec1b7e Add an announcements module 2015-02-22 12:52:46 +00:00
moneromooo
5576c93254 twitter: tweets can now be stored on the filesystem for use as a link 2015-02-20 18:40:33 +00:00
moneromooo
e51b94b486 Remove redis migration code
All instances are now up to date, and this is starting to get
false positives with new networks.
2015-02-19 21:45:37 +00:00
moneromooo
439b9e0f0e blackjack: fix the previous fix in basic strategy enumeration 2015-02-18 22:04:51 +00:00
moneromooo
6b7b2df420 withdraw: add the ability to specify an OpenAlias address for deposits 2015-02-15 16:46:17 +00:00
moneromooo
cc149c6596 Do not use the reddit unread API by default
As it does not work unless the bot has gold.
2015-02-15 16:41:59 +00:00
moneromooo
a9c269abcc Add moneritos 2015-02-15 16:38:04 +00:00
moneromooo
fd7ca261b2 reddit: make the cache timeout configurable
And decrease poll time
2015-02-15 11:17:54 +00:00
moneromooo
3ebd4befc5 reddit: add an option to use the get_unread API
It doesn't work unless the bot has "Reddit gold".
2015-02-15 11:06:13 +00:00
moneromooo
8bd6ae714c rain: fix bug in small rain user enumeration 2015-02-14 15:30:49 +00:00
moneromooo
571b70a865 Save redis on exit instead of shutting it down 2015-02-14 12:26:24 +00:00
moneromooo
53366012e1 always import user/link in modules 2015-02-14 12:15:49 +00:00
moneromooo
19e7e06e96 blackjack: fix a couple bugs in basic strategy 2015-02-12 21:20:52 +00:00
moneromooo
29dcb74ef3 blackjack: fix exception in insurance command error path 2015-02-12 15:38:02 +00:00
moneromooo
4da435b9d2 Add pinata module 2015-02-11 19:39:12 +00:00
moneromooo
f99f10d56c Add a Twitter module
Only acts on @tipperome @other +amount, as 140 characters only
2015-02-11 18:42:41 +00:00
moneromooo
051a0d3d86 withdraw: catch lack of parameter for !resolve 2015-02-11 18:42:41 +00:00
moneromooo
4dd13feef6 withdraw: OpenAlias support 2015-02-10 00:00:30 +00:00
moneromooo
184476409c reddit: ignore authorless messages 2015-02-09 20:02:26 +00:00
moneromooo
95ad92bc3e blackjack: fix balance checks on multiple hands 2015-02-09 09:59:14 +00:00
moneromooo
490b6304da reddit: fix command splitting creating empty tokens 2015-02-07 22:40:28 +00:00
moneromooo
5de54e005c irc: fix command splitting creating empty tokens 2015-02-07 22:40:08 +00:00
moneromooo
7b90901049 Fix double counting of overall game stats 2015-02-07 19:06:42 +00:00
moneromooo
db727c9329 Catch invalid network names in IdentityFromString/LinkAccounts 2015-02-07 10:01:13 +00:00
moneromooo
3e88744e3b Accounts can now be linked 2015-02-06 20:19:00 +00:00
moneromooo
f41763478a reddit: PMs now don't need the keyword to be parsed 2015-02-06 19:37:25 +00:00
moneromooo
b1373c629c Add a reddit network 2015-02-06 11:11:14 +00:00
moneromooo
e8954211a3 redis: add llen/lset trampolines 2015-02-05 21:42:13 +00:00