Commit graph

136 commits

Author SHA1 Message Date
Jaiden Mispy
7df08f9531 There may still be empty sentences in suffix model 2016-02-04 18:11:50 +11:00
Jaiden Mispy
2cbd794969 3.1.6 2016-01-22 07:58:19 +11:00
Jaiden Mispy
a272bd69ca Handle edge-case corpuses with short sentences 2016-01-21 12:51:33 -08:00
Jaiden Mispy
dbae6d3499 3.1.5 2016-01-15 15:59:50 -08:00
Jaiden Mispy
21f2f84a79 Don't zero the archive file if no new tweets (ick) 2016-01-15 15:59:16 -08:00
Jaiden Mispy
ee6fd9c4c4 3.1.4 2016-01-13 03:16:40 -08:00
Jaiden Mispy
20dff3a148 Fire event when someone retweets us. Fixes #76 2016-01-13 01:29:33 -08:00
Jaiden Mispy
951669e972 Error before archive download if file inaccessible
Fixes #85
2016-01-13 01:00:16 -08:00
Jaiden Mispy
8320576ab3 Don't run more passes if no variant. Fixes #79 2016-01-13 00:34:38 -08:00
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