Commit graph

127 commits

Author SHA1 Message Date
Jaiden Mispy
473d84ba22 3.1.3 2016-01-13 00:12:16 -08:00
Jaiden Mispy
14f82a716f Don't infinite loop for very small tweets. #78 2016-01-13 00:06:41 -08:00
Jaiden Mispy
554aa2654c Monkeypatch to fix #91 with current twitter gem 2016-01-12 23:36:21 -08:00
Jaiden Mispy
25e3724f4d Raise memory expectation in test slightly 2016-01-12 23:28:53 -08:00
Rachel Hyman
cbec615108 Don't reply to blacklisted users 2016-01-08 16:33:05 -06:00
Alina Saalfeld
18922ee3b5 Move stopwords.txt to be accessable by bot developer 2015-09-29 17:17:30 +02:00
Alina Saalfeld
3402506dd3 Fix utf-8 in keywords 2015-09-29 16:52:46 +02:00
Jaiden Mispy
17d5c266d0 3.1.2 2015-09-25 01:36:37 -07:00
Jaiden Mispy
0e557ff7b4 3.1.1 2015-09-25 01:30:48 -07:00
Jaiden Mispy
42eee9f8e6 Merge pull request #82 from negatendo/consume_append
append to model
2015-06-13 18:07:20 +10:00
Joshua Charles Campbell
a885d5fe22 stuff I had to change to get the bot working 2015-06-04 10:46:01 -06:00
Jaiden Mispy
854f4351ee 3.1.0 2015-05-24 01:30:51 -07:00
Jaiden Mispy
13e5c47301 Fix issue in user self-update 2015-05-24 01:30:31 -07:00
Jaiden Mispy
2f3f117b39 Remove extraneous sample 2015-05-22 11:17:05 -07:00
Brett O'Connor
43491cb668 added append method which reads and adds to an existing model file 2015-05-19 15:49:35 -06:00
Jaiden Mispy
bab8d77556 Merge pull request #69 from Stawberri/save_user_object
@user variable
2015-03-24 00:15:33 +11:00
Jaiden Mispy
1d1b1930d8 3.0.9 2015-03-12 09:40:50 -07:00
Jaiden Mispy
9f9dfc9b0c Add warning when consuming a plaintext corpus 2015-03-11 02:41:18 -07:00
Jaiden Mispy
2c7246c30e 3.0.8 2015-02-07 22:15:45 -08:00
Stawberri
13e12922da Log message
Now shows a log message when user information is updated
2015-01-18 14:59:13 -08:00
Stawberri
499056e2e3 Send user ID array with on_connect.
This would be useful for people who might want to do some follow list
processing without using an extra requests (i.e. to compare with a list
of followers)
2015-01-17 21:16:57 -08:00
Stawberri
fd0529021a Fixed a variable name
Well, that's embarrassing.
2015-01-16 22:58:46 -08:00
Stawberri
770739d922 Check ID before updating user 2015-01-16 22:13:20 -08:00
Stawberri
19f670ed42 Redundant line removal
I can't spell.
2015-01-16 21:36:26 -08:00
Jaiden Mispy
d3183bd75f Merge pull request #70 from Stawberri/fix_regexp_warning
Fixed a warning message
2015-01-17 12:18:42 +10:00
Mispy
ed166e2694 3.0.7 - remove eventmachine dependency 2015-01-16 21:18:02 +00:00
Stawberri
c88aefece8 New on_connect event when stream is connected. 2015-01-15 15:51:13 -08:00
Stawberri
56f5bc3028 Fixed a warning message
It was bugging me whenever I syntax checked. :<
2015-01-15 03:10:15 -08:00
Stawberri
442dcb3370 Compare ids instead of usernames
Non user-editable values are less prone to strange errors, right?
2015-01-15 03:07:42 -08:00
Stawberri
5c6746cc46 Renamed update_user_object
Just to reduce confusion, to make sure people don't accidentally set
@user to someone else in the future.
2015-01-15 02:49:16 -08:00
Stawberri
023cbb3183 Restructure receive_event to use case
This is much more readable!
2015-01-15 02:46:09 -08:00
Stawberri
0f56a1a6eb Update @user when receiving a user_update event. 2015-01-15 02:39:01 -08:00
Stawberri
d657f25be4 Create @user variable
Since #prepare already calls twitter.user, it'd be best to just save it!
2015-01-15 02:34:45 -08:00
Stawberri
3cea0c83e2 Bot can now respond to favorite events.
I wrote this for myself, but I thought I would share!
2015-01-06 21:40:17 -08:00
Joel McCoy
6e41bdb373 Fix typo in Bot#unfollow 2015-01-02 17:22:39 -05:00
Jaiden Mispy
596f41f15f Keep people in convo as long as they replied once 2014-12-20 07:24:40 +11:00
Jaiden Mispy
0292264613 slightly less paranoid about including people 2014-12-16 10:59:58 +11:00
Jaiden Mispy
15f893d597 3.0.6 2014-12-16 08:29:35 +11:00
Jaiden Mispy
f0c440b884 Test for and fix username case inconsistencies 2014-12-16 08:29:07 +11:00
Stawberri
f49aea4a52 Fixed log entries for replies
I didn't notice that log entries were also manually adding
meta.reply_prefix on.
2014-12-14 02:48:45 -08:00
Jaiden Mispy
03c8491d57 Less sensitive bot detection 2014-12-13 00:44:26 +11:00
Jaiden Mispy
4d4131e185 3.0.5 2014-12-13 00:10:57 +11:00
Jaiden Mispy
64c1aa411c Add default delay range, configure check 2014-12-12 22:53:55 +11:00
Jaiden Mispy
bb5b9e8025 Merge pull request #58 from Stawberri/conditional_reply_prefix
Conditional reply_prefix for replies
2014-12-12 20:36:29 +10:00
Stawberri
e6cefa0890 conditional reply_prefix for replies
Reply prefix is now only added if the recipient's screen_name isn't
already in the tweet text.
2014-12-11 20:13:53 -08:00
Stawberri
6e97383fff load previous archive with utf-8 encoding
Copied from model.rb's File.read
2014-12-09 14:25:13 -08:00
Jaiden Mispy
cb4c09b744 3.0.4 2014-12-08 23:31:44 +11:00
Jaiden Mispy
798451518b Merge pull request #47 from Stawberri/fix_direct_messages
Fix direct messages
2014-12-08 22:28:24 +10:00
Stawberri
56ddb45b61 Fix direct messages
Someone renamed on_message to on_direct_message in bot.rb, but forgot to
update it in the template.

It used to be on_message in the template, so for less confusion, I think
it's preferable to just rename on_direct_message back. :o
2014-12-08 04:27:41 -08:00
Stawberri
0e9f7d6881 Fix reply options
Whoever wrote Bot.reply forgot to pass on options it received for
replies!
2014-12-08 04:21:55 -08:00