Creating Your First Bot

A detailed, step-by-step tutorial for creating a welcome bot using VibeBot's AI Chat feature.

What We'll Build

A welcome bot that:

  • Greets new members when they join your server
  • Assigns a "Member" role automatically
  • Sends a welcome message to a specific channel

Prerequisites

  • A VibeBot account (sign up for free at vibebot.gg)
  • A Discord account
  • A Discord server where you have admin permissions
  • A welcome channel in your Discord server (we'll use #welcome)
  • A role to assign to new members (we'll use @Member)

Step 1: Create a New Bot

Log in to your VibeBot dashboard and click the "New Bot" button. This opens a 3-step setup wizard that handles everything: naming your bot, connecting to Discord, and selecting your server.

  1. Name your bot— Enter a name like "Welcome Bot" (up to 32 characters) and click "Connect Discord".
  2. Set up Discord credentials— The wizard walks you through:
    • Opening the Discord Developer Portal and creating a new application
    • Navigating to the Bot page and enabling both Privileged Gateway Intents that VibeBot uses: Server Members and Message Content. Leave Presence off.
    • Copying your bot token and pasting it into the wizard
    • Clicking "Test Intents" to verify everything is set up correctly
  3. Invite & select server— Click "Invite Bot" to add your bot to a Discord server, then click "Find Servers" to select which server to use.

Click "Create Bot"and you'll be taken to the bot builder. Your Discord token and server are already connected!

Note

You need admin permissions on your Discord server to invite a bot. If you don't see your server after clicking "Find Servers", make sure you completed the invite step first.

Step 2: Use AI Chat to Create Behavior

Describe what you want your bot to do in natural language.

Understanding AI Chat Syntax

Channel References

Use #channel-name to reference a channel.

Send message to #welcome

Role References

Use @role-name to reference a role.

Give them @Member role

Writing Your Prompt

In the AI Chat input box, type the following prompt:

When someone joins the server, send a welcome message in #welcome that says "Welcome to the server, [username]! We're glad to have you here." and give them the @Member role.

Click "Generate" and the AI builds the behavior.

AI Tip

The AI reads "when someone joins" as a member-join event and creates both the message and role actions.

Step 3: Review and Edit the Behavior

After the AI generates your behavior, you'll see it appear in your behaviors list. Click on it to review the details:

Trigger

Type: Member Join Event

Actions

  1. Send message to #welcome channel
  2. Add @Member role to user

You can edit any part of the behavior by clicking on it. Adjust the message text, change the channel, or modify actions as needed.

Step 4: Deploy Your Bot

Your bot is configured. You set up the Discord token and server during creation, so deployment is one click.

  1. Click "Deploy"

    On your bot builder page, click the "Deploy" button.

  2. Watch It Go Live

    VibeBot builds and deploys your bot to the cloud. It goes live once the build finishes, usually under a minute, and you can monitor progress in real time.

Step 5: Test Your Bot

To test your welcome bot, you have a few options:

  • Option 1: Join with an Alt Account

    Use an alternate Discord account to join your server and trigger the welcome message.

  • Option 2: Have a Friend Join

    Invite a friend to join your server temporarily to test the bot.

  • Option 3: Leave and Rejoin

    Leave your server and rejoin it (though you'll lose any roles).

Congratulations

You created and deployed your first Discord bot with VibeBot. The bot now welcomes every new member automatically.

Next Steps