Skip to content

Commit 1e4f0ad

Browse files
committed
Fix README for new repo name
1 parent e0a1980 commit 1e4f0ad

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,21 @@ You can look up a users' Twitter ID [here](http://tweeterid.com/).
7373

7474
To create an instance of the bot:
7575

76-
from TwitterBot import TwitterBot
76+
from TwitterFollowBot import TwitterBot
7777

7878
my_bot = TwitterBot()
7979

8080
By default, the bot will look for a configuration file called `config.txt` in your current directory.
8181

8282
If you want to use a different configuration file, pass the configuration file to the bot as follows:
8383

84-
from TwitterBot import TwitterBot
84+
from TwitterFollowBot import TwitterBot
8585

8686
my_bot = TwitterBot("my-other-bot-config.txt")
8787

8888
Note that this allows you to run multiple instances of the bot with different configurations, for example if you run multiple Twitter accounts:
8989

90-
from TwitterBot import TwitterBot
90+
from TwitterFollowBot import TwitterBot
9191

9292
my_bot = TwitterBot()
9393
my_other_bot = TwitterBot("my-other-bot-config.txt")
@@ -96,7 +96,7 @@ Note that this allows you to run multiple instances of the bot with different co
9696

9797
Due to Twitter API rate limiting, the bot must maintain a local cache of all of your followers so it doesn't use all of your API time looking up your followers. It is highly recommended to sync the bot's local cache daily:
9898

99-
from TwitterBot import TwitterBot
99+
from TwitterFollowBot import TwitterBot
100100

101101
my_bot = TwitterBot()
102102
my_bot.sync_follows()
@@ -111,56 +111,56 @@ This bot has several functions for programmatically interacting with Twitter:
111111

112112
####Automatically follow any users that tweet something with a specific phrase
113113

114-
from TwitterBot import TwitterBot
114+
from TwitterFollowBot import TwitterBot
115115

116116
my_bot = TwitterBot()
117117
my_bot.auto_follow("phrase")
118118

119119
You can also search based on hashtags:
120120

121-
from TwitterBot import TwitterBot
121+
from TwitterFollowBot import TwitterBot
122122

123123
my_bot = TwitterBot()
124124
my_bot.auto_follow("#hashtag")
125125

126126
By default, the bot looks up the 100 most recent tweets. You can change this number with the `count` parameter:
127127

128-
from TwitterBot import TwitterBot
128+
from TwitterFollowBot import TwitterBot
129129

130130
my_bot = TwitterBot()
131131
my_bot.auto_follow("phrase", count=1000)
132132

133133
####Automatically follow any users that have followed you
134134

135-
from TwitterBot import TwitterBot
135+
from TwitterFollowBot import TwitterBot
136136

137137
my_bot = TwitterBot()
138138
my_bot.auto_follow_followers()
139139

140140
####Automatically follow any users that follow a user
141141

142-
from TwitterBot import TwitterBot
142+
from TwitterFollowBot import TwitterBot
143143

144144
my_bot = TwitterBot()
145145
my_bot.auto_follow_followers_of_user("jack", count=1000)
146146

147147
####Automatically favorite any tweets that have a specific phrase
148148

149-
from TwitterBot import TwitterBot
149+
from TwitterFollowBot import TwitterBot
150150

151151
my_bot = TwitterBot()
152152
my_bot.auto_fav("phrase", count=1000)
153153

154154
####Automatically retweet any tweets that have a specific phrase
155155

156-
from TwitterBot import TwitterBot
156+
from TwitterFollowBot import TwitterBot
157157

158158
my_bot = TwitterBot()
159159
my_bot.auto_rt("phrase", count=1000)
160160

161161
####Automatically unfollow any users that have not followed you back
162162

163-
from TwitterBot import TwitterBot
163+
from TwitterFollowBot import TwitterBot
164164

165165
my_bot = TwitterBot()
166166
my_bot.auto_unfollow_nonfollowers()
@@ -169,7 +169,7 @@ You will need to manually edit the code if you want to add special users that yo
169169

170170
####Automatically mute all users that you have followed
171171

172-
from TwitterBot import TwitterBot
172+
from TwitterFollowBot import TwitterBot
173173

174174
my_bot = TwitterBot()
175175
my_bot.auto_mute_following()
@@ -178,7 +178,7 @@ You will need to manually edit the code if you want to add special users that yo
178178

179179
####Automatically unmute everyone you have muted
180180

181-
from TwitterBot import TwitterBot
181+
from TwitterFollowBot import TwitterBot
182182

183183
my_bot = TwitterBot()
184184
my_bot.auto_unmute()
@@ -187,7 +187,7 @@ You will need to manually edit the code if you want to add special users that wi
187187

188188
####Post a tweet on twitter
189189

190-
from TwitterBot import TwitterBot
190+
from TwitterFollowBot import TwitterBot
191191

192192
my_bot = TwitterBot()
193193
my_bot.send_tweet("Hello world!")

0 commit comments

Comments
 (0)