@elizaos/plugin-twitter 1.2.14 → 1.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -4
- package/dist/index.js +359 -230
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -128,6 +128,9 @@ TWITTER_ENABLE_POST=true # Enable autonomous tweet posting
|
|
|
128
128
|
# Optional: Posting Configuration
|
|
129
129
|
TWITTER_POST_IMMEDIATELY=true # Post on startup (great for testing)
|
|
130
130
|
TWITTER_POST_INTERVAL=120 # Minutes between posts (default: 120)
|
|
131
|
+
# For more natural timing, use MIN/MAX intervals:
|
|
132
|
+
TWITTER_POST_INTERVAL_MIN=90 # Minimum minutes between posts
|
|
133
|
+
TWITTER_POST_INTERVAL_MAX=150 # Maximum minutes between posts
|
|
131
134
|
```
|
|
132
135
|
|
|
133
136
|
### Step 5: Run Your Bot
|
|
@@ -174,12 +177,25 @@ TWITTER_ENABLE_ACTIONS=false # Enable timeline actions (likes, retweets, q
|
|
|
174
177
|
TWITTER_ENABLE_DISCOVERY= # Enable discovery service (defaults to true if ACTIONS enabled)
|
|
175
178
|
|
|
176
179
|
# Timing Configuration (all in minutes)
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
+
# For natural behavior, set MIN/MAX intervals - the agent will randomly choose between them
|
|
181
|
+
# If MIN/MAX not set, falls back to the fixed interval values
|
|
182
|
+
|
|
183
|
+
# Post intervals
|
|
184
|
+
TWITTER_POST_INTERVAL=120 # Fixed interval between posts (default: 120, used if MIN/MAX not set)
|
|
185
|
+
TWITTER_POST_INTERVAL_MIN=90 # Minimum minutes between posts (default: 90)
|
|
186
|
+
TWITTER_POST_INTERVAL_MAX=150 # Maximum minutes between posts (default: 150)
|
|
187
|
+
|
|
188
|
+
# Engagement intervals
|
|
189
|
+
TWITTER_ENGAGEMENT_INTERVAL=30 # Fixed interval for interactions (default: 30, used if MIN/MAX not set)
|
|
190
|
+
TWITTER_ENGAGEMENT_INTERVAL_MIN=20 # Minimum minutes between engagements (default: 20)
|
|
191
|
+
TWITTER_ENGAGEMENT_INTERVAL_MAX=40 # Maximum minutes between engagements (default: 40)
|
|
192
|
+
|
|
193
|
+
# Discovery intervals
|
|
194
|
+
TWITTER_DISCOVERY_INTERVAL_MIN=15 # Minimum minutes between discovery cycles (default: 15)
|
|
195
|
+
TWITTER_DISCOVERY_INTERVAL_MAX=30 # Maximum minutes between discovery cycles (default: 30)
|
|
180
196
|
|
|
181
197
|
# Engagement Limits
|
|
182
|
-
TWITTER_MAX_ENGAGEMENTS_PER_RUN=
|
|
198
|
+
TWITTER_MAX_ENGAGEMENTS_PER_RUN=5 # Maximum interactions per engagement cycle (default: 5)
|
|
183
199
|
TWITTER_MAX_TWEET_LENGTH=280 # Maximum tweet length
|
|
184
200
|
|
|
185
201
|
# Discovery Service Settings
|