Commands

Presidents

Commands for managing the server president system in Dark War Survival. The president is a special role with in-game authority over armory assignments and decrees.

Commands

/president appoint

Appoints a new server president. Automatically ends the previous president's term and reassigns the role.

ParameterTypeRequiredDescription
memberMemberYesUser to appoint as president

Permissions: Administrator or configured appointment roles

Example: /president appoint member:@Leader

Success:

Ends the previous president's term (if any)

Removes the president role from the old president

Inserts new president record in the database

Assigns the president role to the new president

Sends announcement embed to the configured channel

Ephemeral confirmation

Errors:

  • Missing permissions
  • Target is a bot
  • Database unavailable

/president remove

Removes the current president without appointing a new one.

ParameterTypeRequiredDescription
(none)

Permissions: Administrator or configured appointment roles

Example: /president remove

Success:

Ends the current president's term

Removes the president role

Logs the action

Ephemeral confirmation

Errors:

  • Missing permissions
  • No active president
  • Database unavailable

/president info

Displays information about the current active president.

ParameterTypeRequiredDescription
(none)

Permissions: Everyone

Example: /president info

Success: Embed with president name, avatar, and term start date (relative timestamp)
Errors:

  • No active president (ephemeral message)

/president history

Shows up to 10 past presidents with their term dates.

ParameterTypeRequiredDescription
(none)

Permissions: Everyone

Example: /president history

Success: Embed with list of presidents, start/end dates, and "Active" badge for current
Errors:

  • No president history yet

/president decree

Issues a presidential decree. Only the current president can use this command.

ParameterTypeRequiredDescription
decree_typeChoiceYesType: General, Economic, Military, or Diplomatic
messagestringYesDecree content

Permissions: Current president only

Example: /president decree decree_type:Military message:All alliances prepare defenses for KE

Success:

Sends a themed embed to the announcement channel (color and emoji based on type)

Logs the decree

Ephemeral confirmation

Decree types:

TypeEmojiColor
General📜Gold
Economic💰Green
Military⚔️Red
Diplomatic🕊️Blue

Errors:

  • User is not the current president
  • No announcement channel configured
  • Channel not found

Configuration

President settings are configured in the dashboard (cog "Presidents"):

OptionDescriptionDefault
role_idRole assigned to the active presidentnone
announcement_channel_idChannel for appointment/decree announcementsnone
decree_channelsPer-type decree channels (optional override){}
appointment_rolesRoles allowed to appoint/remove (besides admin)[]

President + Armory

The president system is designed to work with the Armory module — the president can assign alliances to armory slots using /armory assign.