Skip to content

Set up Discord webhook and bot for Bee Swarm Simulator

Revolution Macro makes it easy to monitor what’s happening without having to watch your PC directly. This guide will walk you through setting up your own Discord server, a status channel, and a webhook so that Revolution can post hourly graphs and regular updates about your macro’s activities. You can set up a bot on that same server if you want to start, pause, or stop from your phone.

  • Use the Discord desktop app or browser. You need a server which you have administrator permissions in - your own private server is enough. Keep the bot in a private channel so strangers cannot run remote commands.
  • Set up the webhook first, in Discord and then in Revolution. You can set up a bot afterward only if you also want remote start, pause, or stop.
  • Webhook covers status and hourly reports. Bot is optional and adds remote commands.
  • Treat webhook URLs and bot tokens like passwords. Do not paste them in public chats.

Use one private server for macro reports. These steps create the channel and webhook URL you paste into Revolution later.

  1. In Discord, click the + in the left server list.

    Discord server list with Add a Server plus button

    Discord server list with Add a Server plus button

  2. Choose Create My Own, then For me and my friends.

    Discord Create Your Server dialog with Create My Own

    Discord Create Your Server dialog with Create My Own

  3. Name the server (for example Revolution Macro) and click Create.

    Discord Customize Your Server dialog with Create button

    Discord Customize Your Server dialog with Create button

  4. Add a text channel for macro reports. Click the + next to Text Channels (or rename the default #general channel). Name it something like status so it shows as #status.

    Discord channel list with a status channel for macro reports

    Discord channel list with a status channel for macro reports

  5. Click #status so it is selected in the channel list.

    Discord private server with a status channel selected for macro reports

    Discord private server with a status channel selected for macro reports

  6. Open that channel’s settings. Go to Integrations → Webhooks → New Webhook (or Create Webhook). Set the name and channel, then click Copy Webhook URL.

    Webhook editor in Discord showing Copy Webhook URL

    Webhook editor in Discord showing Copy Webhook URL

Configure Status → Webhook in Revolution

Section titled “Configure Status → Webhook in Revolution”

You’ve got the webhook URL on your clipboard. Paste it into Revolution and start the macro to see your first report.

  1. In Revolution, open Status → Webhook. The mode selector shows Disabled, Webhook, and Bot.

    Status Webhook mode selector with Disabled, Webhook, and Bot

    Status Webhook mode selector with Disabled, Webhook, and Bot

  2. Select Webhook. Webhook URL and Ping ID appear, each with a paste icon on the right.

    Webhook URL and Ping ID fields on Status Webhook

    Webhook URL and Ping ID fields on Status Webhook

  3. Click the paste icon next to Webhook URL (or paste into the field) so the URL from Discord is filled in. Mask the URL if you share a screenshot.

    Status Webhook with Webhook URL pasted using the paste icon

    Status Webhook with Webhook URL pasted using the paste icon

  4. Optional: with Developer Mode on in Discord, right-click your username and choose Copy User ID. Click the paste icon next to Ping ID so disconnect and error messages can mention you.

    Status Webhook Ping ID field filled with a Discord user ID

    Status Webhook Ping ID field filled with a Discord user ID

  5. Start the macro. Discord shows a Revolution Macro startup embed with Macro Version, Account, and Start Time, and later posts [HH:00:00] Hourly Report with the honey or buff graph.

    Discord channel showing Revolution Macro startup embed

    Discord channel showing Revolution Macro startup embed

Skip this section if you only need webhook reports. When you want remote start, pause, stop, or /help from Discord, create a bot app, invite it to the same private server, then paste its token and channel into Revolution. Anyone who can message the bot channel can run remote commands, so keep the bot on your private server.

  1. In a browser, open the Discord Developer Portal. Click New Application, name it (for example Revolution Macro), check the Developer Terms checkbox, and click Create.

    Discord Developer Portal New Application dialog

    Discord Developer Portal New Application dialog

  2. Open Installation. Under Default Install Settings → Guild Install, open Scopes and add bot (keep applications.commands if it is already listed).

    Guild Install Scopes with bot and applications.commands

    Guild Install Scopes with bot and applications.commands

  3. In Permissions, enable View Channels, Send Messages, Read Message History, Embed Links, and Attach Files. Click Save Changes if Discord shows it.

    Guild Install Permissions with required bot permissions checked

    Guild Install Permissions with required bot permissions checked

  4. Copy the Install Link on the Installation page. Open it in a new tab, choose your private macro server, and authorize the bot.

    Installation Install Link with Copy button

    Installation Install Link with Copy button

  5. Back in Discord, open your server and confirm the bot appears in the member list.

    Discord member list showing the Revolution bot after invite

    Discord member list showing the Revolution bot after invite

  6. In Discord, open User Settings → Advanced and turn on Developer Mode (you need this for Copy Channel ID in step 9).

    Discord Advanced settings with Developer Mode enabled

    Discord Advanced settings with Developer Mode enabled

  7. On the Developer Portal Bot tab, click Reset Token, confirm, and copy the token. Never share this token. You’ll paste it into Revolution in the next step.

    Discord Developer Portal Bot tab with Reset Token

    Discord Developer Portal Bot tab with Reset Token

  8. In Revolution, open Status → Webhook, select Bot, and click the paste icon next to Bot Token to paste the token while it is still on your clipboard.

    Status Webhook Bot Token field filled with paste icon

    Status Webhook Bot Token field filled with paste icon

  9. Back in Discord, right-click #status, choose Copy Channel ID, and keep it on your clipboard for Bot Channel.

    Discord channel menu with Copy Channel ID

    Discord channel menu with Copy Channel ID

  10. In Revolution, click the paste icon next to Bot Channel and paste the channel ID.

    Status Webhook Bot Channel field filled with a channel ID

    Status Webhook Bot Channel field filled with a channel ID

  11. Click Advanced (gear) next to Bot Token. On General, leave Slash Commands on unless you prefer prefix commands.

    Advanced Discord settings General tab with Slash Commands on

    Advanced Discord settings General tab with Slash Commands on

  12. Wait a moment. Discord shows Connected to Discord.

    Discord channel showing Connected to Discord

    Discord channel showing Connected to Discord

  13. In that channel, run /help. The bot lists commands such as start, pause, stop, screenshot, and report.

After the bot connects, open Advanced (gear) next to Bot Token when you need more than the default setup.

By default, everything lands in Bot Channel. Open Advanced → Channels when you want hourly graphs, error lines, balloon alerts, and general status in different Discord channels. For example, use #reports for graphs and #errors for failures so a busy #status feed stays readable.

Paste a channel ID into Reports, Errors, Balloons, or General. Leave a field empty to keep that traffic on Bot Channel.

Advanced Discord settings Channels tab with routing fields

Advanced Discord settings Channels tab with routing fields

Advanced Discord settings Channels tab with routing fields

Open Advanced → Pings when you want Discord to @ you (or another account) on disconnects, reconnect failures, unexpected deaths, or a missing planter. That is useful when you are away from your PC and need a phone alert instead of scrolling the channel.

Set Ping User ID as the default mention. Turn on only the events you care about. Each event also has an Override ID where you can paste a different user ID for that specific event, which is handy when disconnect pings should go to you but planter alerts should go to someone else. When Override ID is empty, Ping User ID (or Ping ID on the main Status → Webhook form) is used instead.

Advanced Discord settings Pings tab with event toggles

Advanced Discord settings Pings tab with event toggles

Advanced Discord settings Pings tab with event toggles

Open Advanced → Permissions and turn on Enable Whitelist when the bot is on a shared server and you do not want every member to run /start or /stop. Add the Discord user IDs that are allowed. Everyone else is ignored.

Skip this on a private server you alone control.

Advanced Discord settings Permissions tab with Enable Whitelist

Advanced Discord settings Permissions tab with Enable Whitelist

Advanced Discord settings Permissions tab with Enable Whitelist
Status → Webhook

Chooses Disabled, Webhook, or Bot. Use Webhook for status graphs and alerts. Switch to Bot only when you need remote Discord commands. Paste icons next to Webhook URL, Bot Token, Bot Channel, and Ping ID read from your clipboard.

Settings → Macro → Reports

When on, hourly Discord stats reporting is skipped. Turn off if you want hourly reports in Discord.

Settings → Macro → Reports

When on, post-gather inventory scans and item reports are skipped. Turn off if you want item reports after long gathers. Item reports also need Webhook or Bot mode on Status → Webhook and a gather of at least about 180 seconds.

Settings Macro Reports with Disable Reporting and Disable Item Tracking

Settings Macro Reports with Disable Reporting and Disable Item Tracking

Settings Macro Reports with Disable Reporting and Disable Item Tracking
Settings → Macro → Misc

Updates your Discord presence with macro status such as Running, Paused, or Stopped. Status refreshes about every 15 seconds while active. Updates only after the prompt has been shown and Discord Rich Presence is turned on. Toggling it is blocked for about 6 seconds after each change.

Settings Macro Misc with Discord Rich Presence

Settings Macro Misc with Discord Rich Presence

Settings Macro Misc with Discord Rich Presence
Status → Webhook → Advanced → General

Defaults on. When on, use slash commands in Discord instead of prefix commands.

Status → Webhook → Advanced → General

Defaults to !. Used when Slash Commands is off (!help lists commands).

Cause: Status → Webhook is set to Webhook, but the URL in Webhook URL cannot be parsed.

Fix:

  1. Paste a full webhook URL into Status → Webhook → Webhook URL (from the channel’s Integrations → Webhooks). Use the paste icon next to the field if the URL is already on your clipboard.

Cause: Status → Webhook is Disabled, Disable Reporting is on, or reporting stops before the hour changes.

Fix:

  1. Open Status → Webhook and select Webhook or Bot.
  2. Confirm Webhook URL (or Bot Token plus Bot Channel) is filled and saved.
  3. Open Settings → Macro → Reports and turn Disable Reporting off if it is on.
  4. Start the macro and look for the Revolution Macro startup embed with Macro Version, Account, and Start Time.
  5. On Bot mode, recheck Bot Token and Bot Channel, or switch to Webhook for reports only.

Cause: The bot lacks channel permissions, Slash Commands is off without Message Content Intent and a working prefix, or Enable Whitelist blocks your user ID.

Fix:

  1. Prefer leaving Slash Commands on under Advanced → General and using /help.
  2. If you use prefix commands, open the Bot tab in the Discord Developer Portal, turn Message Content Intent on under Privileged Gateway Intents, and save.
  3. On Installation → Guild Install, confirm Scopes includes bot, and permissions include View Channels, Send Messages, Read Message History, Embed Links, and Attach Files.

More help