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
jw
c69bef1a41
Merge pull request #1 from tippero/master
...
Bring up to date
2017-10-28 19:04:16 -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
ab6a2d60eb
Make RPC timeout configurable, and longer by default
2017-09-14 10:33:56 +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
79bc336ebb
user: add ident
2016-08-05 16:43:00 +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
2d324d6415
Allow integrated addresses
2016-06-08 21:22:00 +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
3aafbb3de2
Fix the linking_accounts help mentioning the wrong prefix for freenode
2015-07-28 22:23:22 +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
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