jw
0a49452315
Merge pull request #2 from tippero/master
...
up to date
2019-04-06 10:22:37 -07:00
moneromooo
259aed3c66
freenode: guard against Freenode impersonation "feature"
...
Freenode allows impersonating registered users for 30 seconds,
so don't consider users registered before we've known them
for at least a minute. And be a bit paranoid about it with
parts and joins.
2018-07-26 16:23:20 +01:00
moneromooo
d56c6dd61b
spammer: fix allowed list check
2017-11-14 22:30:38 +00:00
jw
d6d4ec5c98
Replace if with try statement
2017-10-29 00:07:19 -07:00
jw
ed00dccd5a
Make sure cmd[1] exists before checking it
2017-10-28 23:57:03 -07:00
jw
4a73c75722
Don't let reddit users PM to '/u/' prefaced users
...
This is probably not a big deal, but at the moment if you PM the bot to tip another user on reddit, and you include /u/ prefixed to the user's name, the bot will send coins to an account that can't exist. For instance:
!tip /u/jwinterm 1
would send coins to reddit:/u/jwinterm, but '/' is not a valid character for reddit usernames. This change presumes that the sender intended to send funds to jwinterm and strips of the '/u/' preceding the actual username.
2017-10-28 22:57:44 -07:00
jw
fb105da6a0
Fix typo and update get_unread to inbox.unread
2017-10-28 19:10:20 -07:00
moneromooo
08691aadbb
Port to newer praw
...
Obviously, everything changed in various ways and the doc was useless
2017-10-19 21:44:03 +01:00
moneromooo
55905122fb
payment: more explicit wording about payment it
2017-09-30 09:26:14 +01:00
moneromooo
da965ebc69
spammer: silence with +q, not +m, remove telegram from exceptions
...
Thanks iDunk for +q pointer
2017-06-25 18:00:23 +01:00
moneromooo
7991428bf9
spammer: mute instead of ban, and allow admins and relays
2017-06-04 16:19:28 +01:00
moneromooo
e1f3acc16c
spammer: remove "astounding!" from the trigger list
...
It's a bit too trigger happy, as reported by jwinterm
2016-12-23 16:51:24 +00:00
moneromooo
921212d217
New randompid command, to allow avoiding payment id reuse
2016-12-22 11:50:32 +00:00
moneromooo
e387fa67ab
spammer: add show_triggers and add_trigger admin commands
2016-11-28 19:38:46 +00:00
moneromooo
59bba00130
Add some more spam/scam triggers
2016-11-28 19:28:55 +00:00
moneromooo
29f6f1fdaa
spammer: triggers don't have to be lowercase anymore
...
Also add "allah is doing"
2016-08-18 22:24:04 +01:00
moneromooo
97b43c5af3
spammer: remove the debug auto unban
...
Don't want to make it too easy for the spammer
2016-08-13 18:59:06 +01:00
moneromooo
b290f4a20f
spammer: add more triggers
2016-08-05 19:33:52 +01:00
moneromooo
14be174cb6
spammer: Allow exprs to be in the middle
2016-08-05 16:49:29 +01:00
moneromooo
82510c0f88
spammer: new module to kickban some spamming scammer
2016-08-05 16:43:39 +01:00
moneromooo
fb5e80f7aa
irc: add ident to user-joined and message events
2016-08-05 16:43:18 +01:00
moneromooo
c8470260f0
Add a message event
2016-08-05 16:32:48 +01:00
moneromooo
95cda86928
irc: do not busy wait when EOS from IRC
2016-06-08 21:22:14 +01:00
moneromooo
fe98e9f549
announcements: odd fixes
2016-01-29 22:14:42 +00:00
moneromooo
a59acafd48
reddit: allow tips after arbitrary text
2015-07-30 21:43:51 +01:00
moneromooo
903a587209
reddit: fix parsing of tips-as-replies
...
"+" was treated a valid number, since all parts were optional
2015-07-28 18:43:57 +01:00
moneromooo
d1d1184f41
payments: fix unlock_time typo
2015-05-11 16:55:18 +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
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
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
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