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
b541b21456
Spec tests updates
...
Also added some new anti-responding-to-self tests.
2015-01-16 22:49:26 -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
Stawberri
c88aefece8
New on_connect event when stream is connected.
2015-01-15 15:51:13 -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
Jaiden Mispy
158683fe06
Merge pull request #65 from Stawberri/on_favorite
...
Bot can now respond to favorite events
2015-01-13 14:38:16 +10: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
Jaiden Mispy
235684d8f1
Merge pull request #64 from BooDoo/fix/bot#unfollow
...
Fix typo in Bot#unfollow
2015-01-03 09:54:12 +11: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
52d82c99ae
fix test
2014-12-16 15:28:05 +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
Jaiden Mispy
e3a4d63847
Merge pull request #62 from Stawberri/reply_log_entries
...
Fixed log entries for replies
2014-12-16 07:27:38 +10:00
Jaiden Mispy
b67b8dabb5
Sleep longer before reconnect
2014-12-15 08:55:20 +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
b460b73392
Update tests to account for bot detection
2014-12-13 00:51:22 +11: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
730f833d6d
fix README quote inconsistency
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
Jaiden Mispy
8080fcd83d
Merge pull request #57 from Stawberri/remove_reply_prefix_examples
...
Removed reply_prefix from examples
2014-12-12 20:35:45 +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
3a350526b4
Removed reply_prefix from examples
...
These methods now automatically add in reply_prefix in v3.
2014-12-11 20:01:57 -08:00
Jaiden Mispy
0441f1b9f7
README tweaks
2014-12-11 22:19:46 +11:00
Jaiden Mispy
47c418340d
add note to readme about regenning models
2014-12-11 22:16:46 +11:00
Jaiden Mispy
371dcb24b8
Merge pull request #54 from Stawberri/archive_read_encoding
...
load previous archive with utf-8 encoding
2014-12-10 21:24:12 +10: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
0a915b0a30
Merge pull request #51 from Stawberri/move_gitignore
...
Renamed skeleton/.gitignore to gitignore
2014-12-10 04:28:58 +10:00
Stawberri
de73f4778b
Renamed skeleton/.gitignore to gitignore
...
Did you know? The .gitignore inside skeleton/ was actually affecting
twitter_ebooks's repo. This fixes that by moving it for twitter_ebooks,
and moving it back when people make their repositories!
2014-12-08 21:46:27 -08:00
Jaiden Mispy
cb4c09b744
3.0.4
2014-12-08 23:31:44 +11:00
Jaiden Mispy
548260f9dd
Spec test too
2014-12-08 23:29:42 +11:00
Jaiden Mispy
504297bf73
On second thought, that's probably better
2014-12-08 23:28:50 +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
Jaiden Mispy
6f1cd0b795
Merge pull request #46 from Stawberri/fix_reply_options
...
Fix reply options
2014-12-08 22:27:54 +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
Jaiden Mispy
9d610a6d58
on_message => on_direct_message in README
2014-12-08 23:16:55 +11:00
Jaiden Mispy
db903e2e2b
Add start/console commands to help
2014-12-08 23:16:47 +11:00
Jaiden Mispy
f667a7a621
Merge pull request #43 from Stawberri/meta_media_uris
...
meta.media_uris
2014-12-08 15:56:45 +10:00
Jaiden Mispy
56f83c4c18
Merge pull request #44 from Stawberri/gitignore_without_asterisk
...
Remove * in default .gitignore
2014-12-08 15:56:16 +10:00