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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| member | Member | Yes | User 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| (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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| (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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| (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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| decree_type | Choice | Yes | Type: General, Economic, Military, or Diplomatic |
| message | string | Yes | Decree 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:
| Type | Emoji | Color |
|---|---|---|
| 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"):
| Option | Description | Default |
|---|---|---|
role_id | Role assigned to the active president | none |
announcement_channel_id | Channel for appointment/decree announcements | none |
decree_channels | Per-type decree channels (optional override) | {} |
appointment_roles | Roles 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.