Skip to content

recruitment

xdnw edited this page Sep 5, 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

📚 Your alliance id
/settings_default registeralliance

Your alliance id

Arguments:

<alliances> - Set

A comma separated list of alliances

📚 API key found at the bottom of: https://politicsandwar.com/account/...
/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

📚 The recruit message subject...
/settings_recruit recruit_message_subject

The recruit message subject
Must also set

Arguments:

<value> - String

A single line of text

📚 The recruit message body...
/settings_recruit recruit_message_content

The recruit message body
Must also set

Arguments:

<message> - String

A single line of text

📚 The #channel to receive recruitment message output
/settings_recruit recruit_message_output

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
/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

📚 Test your alliance recruitment message by sending it to the bot creator's nation
/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