Using AI Chat

Learn how to use natural language to build custom Discord bot behaviors with AI Chat.

What is AI Chat?

Describe what you want your bot to do in plain English. AI Chat reads your request and generates the behaviors, triggers, and actions to make it work. It runs on Claude Sonnet.

The AI Chat panel in the VibeBot builder with starter suggestion cards
AI Chat: describe a behavior in plain English, or pick a suggestion to start.

Basic Syntax

Write as you would speak. The AI reads channel names (#channel) and role references (@role) from your connected server.

Channel References

Use #channel-name to reference Discord channels

Send a message to #general

Role References

Use @role-name to reference Discord roles

Give them the @Member role

Connect your server first

Channel and role references work only after you connect your Discord server. The AI reads your server structure to resolve them.

Example Prompts

Copy any of these and adapt the channel and role names to your server:

Welcome Bot

When someone joins the server, send a welcome message in #welcome that says "Welcome [username]! Check out #rules to get started." and give them the @Member role.

Creates a member join trigger with message and role actions.

Moderation Commands

Create a /kick command that only users with @Moderator role can use. It should kick the mentioned user and send a log message to #mod-logs.

Creates a slash command with permission checks and logging.

Auto-Responder

When someone says "!help" in any channel, send an embed with help information including links to the docs and support server.

Creates a message trigger that responds with formatted content.

Reaction Roles

When someone reacts with 🎮 to a message in #roles, give them the @Gamer role. When they remove the reaction, remove the role.

Creates reaction add/remove triggers with role management.

Announcement System

Create an /announce command that only @Admin can use. It should send an announcement embed to #announcements and ping @everyone.

Creates a command with role restrictions and formatted output.

Tips for Better Prompts

Be Specific

The more details you provide, the more accurate the generated behavior.

❌ Vague:

Make a welcome bot

✅ Specific:

When someone joins, send "Welcome [username]!" to #welcome and give @Member role

Include Trigger and Actions

Clearly state when it should trigger and what it should do.

Structure:

When [trigger], do [action] in [channel] with [details]

Use Actual Names

Reference your actual channels (#general) and roles (@Member) from your server.

Mention Permissions

If a command should be restricted, specify which roles can use it.

Common Patterns

Here are common trigger types the AI understands:

Member Events

  • • "When someone joins..."
  • • "When a member leaves..."
  • • "When someone gets banned..."

Commands

  • • "Create a /command..."
  • • "Add a slash command..."
  • • "Reply when a message starts with !help..."

Messages

  • • "When someone says..."
  • • "When a message contains..."
  • • "If someone types..."

Reactions

  • • "When someone reacts with 😀..."
  • • "When reaction is added..."
  • • "When reaction is removed..."

AI Limitations

  • AI Chat spends credits. Check your balance before generating.
  • Split very complex behaviors into multiple simpler ones.
  • You can edit AI-generated behaviors after creation.
  • If the generated behavior doesn't match your intent, rephrase your prompt with more specific details.

About AI Credits

AI Chat bills by token usage: $7.50 per 1M input tokens and $37.50 per 1M output tokens. Cost per generation varies with prompt length. Your plan includes a credit allowance:

  • Trial: free for 3 days, includes $1 in credits
  • Lite ($5/mo): one $5 credit at signup, no monthly credit
  • Pro ($10/mo): $10 in credits each month

Pro and Lite can enable auto-reload, which adds $10 when your balance drops below $2.00. See How Credits Work for typical costs.

Tip: Templates never spend credits. Use them for common features and save AI Chat for custom behaviors.