Skip to content

recruitment

test edited this page Oct 24, 2024 · 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

  • Messages will automatically send once configured.
  • Disable by using/settings delete key: RECRUIT_MESSAGE_OUTPUT
  1. 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


  1. 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 </settings_recruit recruit_message_content:1296835313351528478>

Arguments:

<value> - String
A single line of text


📚 The recruit message body...
/settings_recruit recruit_message_content

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

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


Configure a message to send new applicants

📚 If new applicants are sent an ingame mail with instructions on how to join the discord
/settings_recruit mail_new_applicants

If new applicants are sent an ingame mail with instructions on how to join the discord

Arguments:

<enabled> - boolean


📚 The message to send to new applicants via in-game mail....
/settings_recruit mail_new_applicants_text

The message to send to new applicants via in-game mail.
Supports nation placeholders, see: https://github.com/xdnw/locutus/wiki/nation_placeholders

Arguments:

<message> - String
A single line of text


Other recruitment strategies

Clone this wiki locally