MakersFuel

Discord Setup

Discord Setup

Discord bots work great for communities, team servers, and gaming groups. This guide walks you through the complete setup process.

Works with both PicoClaw and Moltis.

What You'll Need

  • A Discord account
  • A Discord server where you have admin permissions
  • ~15 minutes for setup

Step 1: Create Discord Application

Open Developer Portal

  1. Go to Discord Developer Portal
  2. Log in with your Discord account
  3. Click New Application

Name Your Application

  1. Enter a name for your application (e.g., "My AI Assistant")
  2. Accept the Developer Terms of Service
  3. Click Create

Step 2: Create Bot User

Navigate to Bot Section

  1. In your application, click Bot in the left sidebar
  2. Click Add Bot
  3. Confirm by clicking Yes, do it!

Configure Bot Settings

Under Privileged Gateway Intents, enable:

IntentRequiredPurpose
Message Content IntentYesRead message content
Server Members IntentOptionalAdvanced user filtering
Presence IntentOptionalUser status information
Important: Message Content Intent is required for your bot to read message content. Without it, your bot cannot see what users type.

Step 3: Copy Bot Token

Generate Token

  1. In the Bot section, find Token
  2. Click Reset Token (or Copy if visible)
  3. Confirm the action if prompted
  4. Copy the token immediately
Security Warning: Never share your bot token. Anyone with this token can control your bot. If compromised, reset it immediately.

Step 4: Get Your User ID

Enable Developer Mode

  1. Open Discord Settings (gear icon)
  2. Go to Advanced
  3. Enable Developer Mode

Copy Your User ID

  1. Right-click on your username (in a server or DM)
  2. Click Copy User ID
  3. Save this number

Step 5: Invite Bot to Server

Generate Invite URL

  1. In Developer Portal, go to OAuth2 -> URL Generator
  2. Select scopes:
    • bot
    • applications.commands
  3. Select bot permissions:
    • Send Messages
    • Read Message History
    • View Channels
    • Add Reactions (optional)

Invite the Bot

  1. Copy the generated URL at the bottom
  2. Open the URL in a new browser tab
  3. Select the server where you want to add the bot
  4. Click Authorize
  5. Complete the CAPTCHA if prompted

Step 6: Configure in MakersFuel

Configuration fields differ depending on your claw type.

PicoClaw Fields

FieldDescription
bot_tokenThe token from Developer Portal
allow_fromComma-separated Discord user IDs (leave empty to allow all)
Note: PicoClaw uses numeric Discord user IDs for access control.

Moltis Fields

FieldDescription
account_idBot Name (display name)
bot_tokenThe token from Developer Portal
dm_policyWho can DM the bot: open, allowlist, or disabled
allowlistList of allowed Discord usernames (not user IDs)
Important: Moltis allowlist uses Discord usernames (e.g., alice, bob), not numeric user IDs. PicoClaw uses numeric user IDs.

DM Policy (Moltis)

PolicyBehavior
openAnyone can message the bot
allowlistOnly users whose username is in the allowlist can message the bot
disabledDMs are disabled

Setup Steps

  1. Go to your employee's configuration page
  2. Find the Channels section
  3. Click Add Channel or enable Discord
  4. Fill in the fields for your claw type
  5. Click Save to apply the configuration

Step 7: Start Chatting

Find Your Bot

Your bot should now appear in your server's member list (it may show as offline until fully connected).

Test It Out

In any channel where the bot has access:

  • @mention the bot: @YourBot hello!
  • Use a slash command if configured
  • Send a direct message to the bot

Features

Slash Commands

Slash commands are automatically registered when your employee starts.

FeatureDescription
Auto-registrationCommands sync at startup
Server-specificCommands appear in your server
AutocompleteUsers see available commands

Message Types

TypeSupported
Text messagesYes
ImagesYes
EmbedsYes
AttachmentsYes
ReactionsYes

Channel Access

Control where your bot can respond:

  • All channels -- Bot responds everywhere it has access
  • Specific channels -- Limit to certain channels via Discord permissions
  • DMs -- Bot can respond to direct messages

Configuration Reference

PicoClaw Access Control

PicoClaw uses the allow_from field with numeric Discord user IDs:

SettingDescription
Single userEnter one user ID
Multiple usersComma-separated IDs
Open accessLeave empty to allow all

Moltis Access Control

Moltis uses dm_policy and allowlist with Discord usernames:

SettingDescription
OpenSet dm_policy to open
RestrictedSet dm_policy to allowlist and add usernames to allowlist
DisabledSet dm_policy to disabled

Bot Permissions

Recommended permissions for full functionality:

PermissionPurpose
Send MessagesReply to users
Read Message HistoryContext from conversation
View ChannelsSee channels
Embed LinksRich message formatting
Attach FilesSend files
Add ReactionsReact to messages

Troubleshooting

"Bot not responding"

  1. Check Message Content Intent -- Must be enabled in Developer Portal
  2. Verify token -- Ensure complete token is entered
  3. Check permissions -- Bot needs channel access
  4. Check access control -- Verify you are in allow_from (PicoClaw) or allowlist (Moltis)

"Missing Access" error

  • Bot lacks permissions in that channel
  • Check channel permission overrides
  • Verify bot role has necessary permissions

"Invalid token" error

  • Token may have been reset
  • Generate a new token in Developer Portal
  • Update the token in MakersFuel

Bot shows offline

  • Employee may not be running
  • Token may be invalid
  • Check employee status in dashboard

Slash commands not appearing

  • Commands may take up to an hour to propagate
  • Try restarting the employee
  • Ensure applications.commands scope was selected

Best Practices

PracticeWhy
Use minimal permissionsSecurity best practice
Enable only needed intentsReduces resource usage
Restrict accessUse allow_from or allowlist
Test in a private channelCatch issues before public use

Next Steps

What did you think of this content?