Skip to content

recruitment

xdnw edited this page Aug 25, 2023 · 17 revisions

Overview

Locutus can send recruitment messages. This does NOT require login/username/password. Messages will only be sent if you have an active nation in a leadership position. Alliances with 9 or less members (non inactive) will also require an online nation on discord with the INTERNAL_AFFAIRS role

Set an INTERNAL_AFFAIRS role

/role setalias locutusrole: INTERNAL_AFFAIRS discordrole:

Setup a recruitment message

First ensure you have your alliance and api key set

Your alliance id

Arguments:

<alliances> - Set

A comma separated list of alliances


API key found at the bottom of: https://politicsandwar.com/account/ Be sure to enable all access you wish the bot to have, and have a sufficient position in-game (e.g. leader) Needed for alliance functions and information access, such as calculating resource dispersal, sending mail Api Key Example

Arguments:

<apiKeys> - List

Multiple words or text separated by spaces


Then set the message subject, content, and output channel

The recruit message subject Must also set </settings_recruit recruit_message_content:1104571317719670892>

Arguments:

<value> - String

A single line of text


The recruit message body Must also set </settings_recruit recruit_message_output:1104571317719670892>

Arguments:

<message> - String

A single line of text


The #channel to receive recruitment message output

Arguments:

<channel> - MessageChannel

A discord channel name or mention


Optional:

The amount of time to delay recruitment messages by

Arguments:

<timediff> - Long[Timediff]

A time difference or unix timestamp which will resolve as a difference relative to the current date


Send a test message

Test your alliance recruitment message by sending it to the bot creator's nation

This command has no arguments


Other recruitment strategies

Clone this wiki locally