Table of Contents

Hosting Discord Bots

Picotat allows you to easily host and manage your Discord bots in EU and US regions. This guide will walk you through the process of creating and configuring a new bot.

Prerequisites

Before you begin, you need:

  1. A Picotat account.
  2. A Discord account.
  3. A Discord Application and Bot Token from the Discord Developer Portal.

Step 1: Get your Discord Bot Token

  1. Go to the Discord Developer Portal.
  2. Click New Application and give it a name.
  3. Go to the Bot tab in the left menu.
  4. Click Add Bot.
  5. Under the Token section, click Reset Token and then Copy.
    • Important: Keep this token secret! Anyone with this token can control your bot.

Enable Privileged Gateway Intents

For your bot to function correctly, especially if it uses features like welcoming new members or reading message content, you must enable Privileged Gateway Intents.

  1. On the Bot page in the Discord Developer Portal, scroll down to the Privileged Gateway Intents section.
  2. Enable the following intents based on your bot's needs:
    • Presence Intent: Required if your bot needs to see user statuses (Online, Idle, DND).
    • Server Members Intent: Required if your bot performs actions when users join or leave (e.g., Welcome messages) or needs to list members.
    • Message Content Intent: Required if your bot needs to read the content of messages (e.g., for moderation or specific triggers).
  3. Click Save Changes.

Step 2: Create a Bot in Picotat

  1. Log in to your Picotat dashboard.
  2. Navigate to the Bots section.
  3. Click the Create Bot button.
  4. Fill in the required details:
    • Name: A friendly name for your bot in Picotat.
    • Token: Paste the Discord Bot Token you copied in Step 1.
  5. Click Create.

Step 3: Manage your Bot

Once created, you will see your bot in the list.

  • Start: Click the Start button to bring your bot online.
  • Stop: Click the Stop button to take your bot offline.
  • Logs: View real-time logs to monitor your bot's activity and troubleshoot issues.
  • Details: In My Bots, open the bot menu (⋮) and select Details to view the bot's Guilds and Commands.
  • Workflows: Attach/detach workflows that define your bot's behavior (see Creating Workflows).

Troubleshooting

  • Bot won't start: Check if the token is correct and valid. Ensure your bot has the necessary intents enabled in the Discord Developer Portal (e.g., Message Content Intent).
  • Bot is online but not responding: Check the logs for any errors. Ensure the bot has permissions to read messages in the channel.