Set up PTRE on DiscordThe PTRE bot imports the spy reports posted on your Discord into your team and posts notifications there: spy reports pushed by OGLight / Infinity / EasyPTRE, galaxy events and fights (Expedetector). Pick the path matching your Discord and follow the steps. Before you startYou need a PTRE team and its WO key (wo-xxxx-xxxx-xxxx-xxxx): it links your Discord to your team. Log in as team admin (or creator) to display your WO key: log in / create a team. Pick your pathClassic Discord (one universe)Your team plays one universe on this Discord: one channel per notification type. Invite the PTRE botLog in to Discord in your browser and invite the PTRE bot to your server. It does not need administrator rights.Create the channelsCreate one channel per notification type, for instance ptre-reports (spy reports), ptre-galaxy (galaxy) and ptre-fights (fights). The names of these channels do not matter: you will select them in the form. The bot must be able to view the channel, send messages and embed links there.  Run the configurationType /ptre-config (or !ptre !config) in a channel where the bot is. The form is only displayed to you. Step 1: team, universe and spy reports🔑 button: paste your WO key. Select the bot language, your default universe and your spy reports channel (e.g. ptre-reports). Steps 2 and 3: galaxy and fightsSelect your galaxy channel (e.g. ptre-galaxy) and the minimum rank, then your fights channel (e.g. ptre-fights). Leave empty to disable.Step 4: multi-universe (auto-channel)Select Disabled.Step 5: test and saveSelect Yes to get a test notification in each channel, then click Save. A summary is posted in the channel.CheckType !ptre to display the configuration, then paste a spy report API key to test the import. Help: !ptre !help.
Multi-universe Discord (auto-channel)Your team plays several universes on this Discord: one channel per universe and per notification type. Invite the PTRE botLog in to Discord in your browser and invite the PTRE bot to your server. It does not need administrator rights.Create the channelsDefault channels (free names, you will select them in the form): for instance ptre-reports, ptre-galaxy and ptre-fights. They receive the notifications of universes without a dedicated channel. Per-universe channels (exact names): for each universe, ptre-<country>-<universe>, …-gala and …-fights, for instance ptre-en-1, ptre-en-1-gala and ptre-en-1-fights. The bot must be able to view these channels, send messages and embed links there.  Run the configurationType /ptre-config (or !ptre !config) in a channel where the bot is. The form is only displayed to you. Step 1: team, universe and spy reports🔑 button: paste your WO key. Select the bot language, your main universe as default universe, and your default spy reports channel (e.g. ptre-reports). Steps 2 and 3: galaxy and fightsSelect your default galaxy (with the minimum rank) and fights channels (e.g. ptre-galaxy and ptre-fights): they enable these notifications and are used as fallback channels.Step 4: multi-universe (auto-channel)Select Enabled. The bot lists the channels expected for your universes: ✅ exists, ⚠️ the bot cannot post there, ❌ to create.Step 5: test and saveSelect Yes: two test notifications per type (default universe and another universe) check that each one reaches the right channel. Click Save.CheckType !ptre to display the configuration. In a ptre-en-1 channel, commands (!ptre !last, search…) are filtered on that universe. Help: !ptre !help.
Good to know- Spy reports posted on a linked Discord are private to your team. Without a link, they are public.
- A Discord server is linked to one team only, but several Discord servers can use the same team (yours and your allies', for instance).
- To change team, run
/ptre-config again with the WO key of the new team (or paste it in a channel). - Edit the configuration at any time with
/ptre-config. - Privacy policy - Terms of use - Official PTRE Discord
|