Skip to content

recruitment

xdnw edited this page Sep 1, 2023 · 17 revisions

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: @discordRole

Setup a recruitment message

First ensure you have your alliance and api key set

/settings_default registeralliance

Your alliance id

Arguments:

<alliances> - Set

A comma separated list of alliances


/settings_default registerapikey

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[TextArea]

Multiple words or text separated by spaces Use quotes for multi-word arguments


Then set the message subject, content, and output channel

/settings_recruit recruit_message_subject

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

Arguments:

<value> - String

A single line of text


/settings_recruit recruit_message_content

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

Arguments:

<message> - String

A single line of text


/settings_recruit recruit_message_output

The #channel to receive recruitment message output

Arguments:

<channel> - MessageChannel

A discord channel name or mention


Optional:

/settings_recruit recruit_message_delay

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

/mail recruit

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