Claude Discord Bot
A powerful Discord bot powered by Anthropic's Claude 3.5 Sonnet, supporting conversational AI and scheduled tasks.
🚀 Setup Instructions
Configure API Keys
- Open the
.envfile and replaceYOUR_DISCORD_BOT_TOKENwith your actual Discord Bot Token. - Replace
YOUR_ANTHROPIC_API_KEYwith your actual Anthropic API Key.
- Open the
Run the Bot
- In your terminal, run:
node index.js - You should see "Bot online" in the terminal.
- In your terminal, run:
Invite the Bot
- Ensure the bot has
Guilds,GuildMessages, andMessageContentintents enabled in the Discord Developer Portal. - Mention the bot in any channel it has access to!
- Ensure the bot has
📦 Features
- Claude 3.5 Sonnet: Uses the latest Claude model for high-quality responses.
- Message Content Support: Responds when mentioned.
- Auto-Typing: Shows the "typing..." indicator while Claude is thinking.
- Long Message Support: Automatically splits responses longer than 2000 characters.
- Scheduled Tasks: Includes
node-cronfor periodic updates.


Log in or sign up for Devpost to join the conversation.