-
Notifications
You must be signed in to change notification settings - Fork 0
First Time Setup Guide
This guide walks you through creating a Discord bot, inviting it to your server, installing the plugin, and connecting the two.
- Windows with Advanced Combat Tracker installed. (ACT itself requires the .NET Framework 4.8 runtime, so if ACT runs, you're covered.)
- A Discord account, and Manage Server permission on the server you want the bot to join (or an admin who can invite it for you).
βΉοΈ You do not need to install Node.js. A
node.exefile is bundled inside the download β it's what lets the bot connect to Discord voice. There's nothing extra to install; just keep the whole plugin folder together (see StepΒ 3).
- Go to the Discord Developer Portal β Applications and click New Application.
- Give it a name (this becomes the bot's display name) and click Create.
- (Optional) Under General Information, add a description and an icon β for example, the mascot above. π±
- In the left sidebar, open the Bot tab.
- Under Privileged Gateway Intents, the defaults are fine β this plugin only needs to join voice and play audio, so no privileged intents are required.
-
In the left sidebar, open OAuth2.
-
Under OAuth2 URL Generator, tick the
botscope. -
In the Bot Permissions list that appears, tick at minimum:
- View Channels
- Connect
- Speak
(Granting Administrator also works, but the three above are all the bot actually needs.)
-
Copy the generated URL at the bottom of the page and open it in your browser.
-
Pick the server you want the bot to join from the dropdown and click Authorize. You must have Manage Server on that server, or it won't appear in the list β if so, send the link to a server admin instead.
π The bot must be able to see and connect to the voice channels you want it to join. If your admin restricts its permissions, make sure those channels are still accessible to it.
- Download the latest
ACT_DiscordTriggers-*.zipfrom the Releases page. -
Right-click the downloaded zip β Properties β tick Unblock β OK, before extracting. Windows flags
node.exe/DLLs downloaded from the internet, and skipping this can trip SmartScreen or antivirus. - Extract the zip into your ACT plugins folder:
%AppData%\Advanced Combat Tracker\Plugins. You should end up with aPlugins\ACT_DiscordTriggers\folder containingACT_DiscordTriggers.dll,node.exe,bundle.js, and anode_modules\folder. Keep all of these files together in that folder β the plugin runs the bundlednode.exefrom right beside it. - Run Advanced Combat Tracker as Administrator.
- Open the Plugins tab β Browseβ¦, select
ACT_DiscordTriggers.dllinside theACT_DiscordTriggersfolder, and click Add/Enable Plugin. - Restart ACT, then click the new Discord Triggers tab.
β οΈ Always restart ACT after adding or updating the plugin. Just enabling/disabling it is not enough.
- Back in the Developer Portal, open your application β Bot tab.
- Click Reset Token (the first time, this reveals the token), confirm, and Copy it.
- Treat this token like a password β never share it or post it anywhere. Anyone with it controls your bot. If it leaks, return here and reset it.
- Paste the token into the Discord Bot Token field (under Discord Connection) on the plugin's Discord Triggers tab. Your token is saved when you close ACT, so you only paste it once.
- Click Connect. The bot should come online within a few seconds. Tick Auto Connect if you'd like it to log in automatically every time ACT starts.
On the Discord Triggers tab, click Connect (or enable Auto Connect so it logs in whenever ACT starts). Once the bot is online, pick a Server and Channel from the dropdowns and press Join Channel to make it enter that voice channel. The server and channel aren't remembered between sessions, so you'll pick them each time.
From then on, any trigger that plays text-to-speech or a sound β whether from ACT Custom Triggers, Triggernometry, or Triggevent β is routed through the bot so everyone in the channel hears it. The Trigger Software page walks through setting up each of those (and how to keep some callouts personal).
Want to tweak the voice, volume, audio quality, or other options? Every setting on the plugin tab is explained in Settings & Configuration. In particular, the Text-to-Speech page lets you switch from the built-in Windows voices to far more natural-sounding neural voices β see Text-to-Speech.
- Troubleshooting and frequently asked questions: Common Questions & Issues.
- Bugs and feature requests: the Issues page.