#Can't setup
1 messages ยท Page 1 of 1 (latest)
I'd be happy to help you get chatting with Claude Code! ๐ฆ To troubleshoot this, I need a bit more info:
What happens when you try to message?
- Does nothing happen at all?
- Do you get an error message?
- Does the bot respond but with the wrong model?
A few common things to check:
- Is an agent configured? Make sure you have an agent with a model assigned (not just the provider configured)
- Check your bindings - are messages from your Discord channel mapped to an agent?
- Try
@Clawdbot help- does it respond?
If you can share what you see when you try to chat, I can help pinpoint the issue!
I have already configured the agent
Thanks for confirming! Let's narrow this down. A few quick questions:
-
Is the agent bound to your Discord channel? Check your config with:
clawdbot config get agentsAnd look for
bindings- does your Discord channel ID appear there? -
What model is assigned to the agent? Some models (like Claude Code) may need specific setup.
-
Try pinging the bot:
@Clawdbot status- does it respond? -
Is the agent enabled? Run:
clawdbot agents list
If you're comfortable sharing your config (remove any API keys!), I can take a closer look. The most common issues are:
- Agent not bound to that specific channel
- No model assigned to the agent
- Agent is disabled
when I try to chat with Clawd, i got the error message as in the screenshots
Ah, that's a Claude Code CLI error, not a Clawdbot issue! ๐ฆ
The error says: "Claude Code has not been linked to a project"
To fix this:
- Run
claude linkin your terminal to link it to a project directory, OR - Run
claude configureto set up the configuration
This is separate from Clawdbot - it's your local Claude Code CLI that needs to be set up first. Once you've linked it to a project, Clawdbot should be able to use it just fine!
how to run claude link
Just open your terminal and run:
claude link
It will walk you through linking to a project directory. You'll:
- Choose or enter a project path
- Maybe sign in/authenticate if needed
- Done!
Quick tip: If you're in your project directory already, just run:
claude link .
That links the current folder. Once that's done, come back to Discord and try chatting with Clawdbot again! ๐ฆ
I think i am already linked though
Hmm, can you clarify what you mean by "connected my claude code"? ๐ฆ
Important distinction:
- Claude Code CLI (
claude) - a separate CLI tool you install locally - Anthropic API - what Clawdbot uses to talk to Claude models
Clawdbot uses the Anthropic API directly, not the Claude Code CLI binary. So you don't need to run claude link for Clawdbot to work.
For Clawdbot, you just need:
- An Anthropic API key configured in Clawdbot
- An agent with a model assigned (like
sonnetoropus)
Quick check - run:
clawdbot config get providers.anthropic