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

In this tutorial, we'll create 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 all 3 Privileged Gateway Intents (Presence, Server Members, Message Content)
    • 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

Now comes the fun part! We'll use natural language to describe what we want our bot to do.

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 will create the behavior for you!

AI Tip

The AI is smart! It will automatically detect that "when someone joins" means a member join event, and will create 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

Now that your bot is configured, it's time to deploy it to the cloud! Since you already set up your Discord token and server during bot creation, deployment is just one click.

  1. Click "Deploy"

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

  2. Watch It Go Live

    Your bot will be built and deployed to the cloud in seconds. You can monitor the 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've successfully created and deployed your first Discord bot with VibeBot! The bot will now welcome every new member automatically.

Next Steps