Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add approval mechanism for Twitter posts via Discord bot #1876

Merged
merged 3 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ TWITTER_TARGET_USERS= # Comma separated list of Twitter user names to
TWITTER_RETRY_LIMIT= # Maximum retry attempts for Twitter login
TWITTER_SPACES_ENABLE=false # Enable or disable Twitter Spaces logic

TWITTER_APPROVAL_DISCORD_CHANNEL_ID= # Channel ID for the Discord bot to listen and send approval messages
TWITTER_APPROVAL_DISCORD_BOT_TOKEN= # Discord bot token
TWITTER_APPROVAL_ENABLED= # Enable or disable Twitter approval logic #Default is false
TWITTER_APPROVAL_CHECK_INTERVAL=60000 # Default: 60 seconds

X_SERVER_URL=
XAI_API_KEY=
XAI_MODEL=
Expand Down
3 changes: 2 additions & 1 deletion packages/client-twitter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"@elizaos/core": "workspace:*",
"agent-twitter-client": "0.0.18",
"glob": "11.0.0",
"zod": "3.23.8"
"zod": "3.23.8",
"discord.js": "14.16.3"
},
"devDependencies": {
"tsup": "8.3.5"
Expand Down
Loading
Loading