Discord Bot Setup

Using the discord bot allows you to remotely interact with the macro via commands

  1. Installing certificates

    1. Go to finder -> applications -> python 3.x

    2. Double click on "Install Certificates.command" and let it run

    3. Close terminal afterwards

  2. Creating a discord bot

    1. Click on “New Application” (top right)

  3. Put in a name, tick the checkbox and create

  1. Copy the application id (it is required later)

  1. In the “settings” sidebar, click on bot

  1. Scroll down to “Privileged Gateway Intents”, check all of them, and save changes

  1. Edit and copy in the following link into a web browser:

https://discord.com/oauth2/authorize?client_id=<application id>&permissions=68608&scope=bot For example, if my application id from step 4 is 1238906, then my link would be: https://discord.com/oauth2/authorize?client_id=1238906&permissions=68608&scope=bot

  1. Add your bot to the server and ensure that it has permissions to view the channels you want to use it in

  2. Returning back to the application page, reset the bot's token and copy it

  1. Launch the macro and copy the token into the 'Discord Bot Token' setting (config -> discord -> Discord Bot)

Discord Bot Commands

/start -> starts the macro
/stop -> stops the macro
/ping -> returns a message from the bot. Used to check if the bot is online
/screenshot -> sends a screenshot of your screen
/amulet <keep/replace> -> choose to keep/replace an amulet. Only for stump snail
/battery -> displays your mac's battery status
/rejoin -> rejoins the game

Last updated