Modules (Cogs)

APC Rankings

The APC (Alliance Power Contribution) module allows players to report their in-game strength values. The bot maintains a live leaderboard embed that updates automatically.

Enabling the Module

Enable the module

Dashboard → Your server → toggle APC

Configure the channel

Click Edit and configure the leaderboard channel

Save

Save — the bot will create/update the leaderboard embed

Configuration

OptionTypeDefaultDescription
channel_idstring / nullnullChannel for the leaderboard embed
message_idstring / nullnullLeaderboard message ID (auto-managed)
private_leaderboardbooleanfalseWhen enabled, no public leaderboard is posted; access is gated
leaderboard_rolesstring[][]Role IDs allowed to view the full leaderboard (empty = moderation roles)

How It Works

Report strength

Player uses /apc 1.5G 500M to report their strength

Parse values

Bot parses the shorthand notation and stores raw numeric values

Update leaderboard

Bot updates the leaderboard embed in the configured channel

Rank

Ranking sorted by main APC value (descending)

Strength Notation

SuffixMeaningExample
KThousands200K = 200,000
MMillions1.5M = 1,500,000
GBillions2G = 2,000,000,000

Decimals are supported: 1.5G, 800.5M, 50.2K

Leaderboard Embed

The bot maintains a single persistent embed that shows:

  • Position (with medal emojis for top 3)
  • Player name
  • Main APC value
  • Second APC value
  • Last update time

The embed is edited in-place after every /apc or /apc-remove command — no spam, just one clean message.

Commands

CommandDescriptionWho can use
/apc [main] [second]Submit/update your strengthEveryone
/apc viewView only your own submitted strengthEveryone (private)
/apc leaderboardShow the full leaderboardEveryone (restricted roles in private mode)
/apc-remove [position]Remove a record by ranking positionModeration Roles / Admin

Privacy (Private Leaderboard)

Enable Private Leaderboard in the dashboard to restrict the scoreboard:

  • No public leaderboard embed is posted in the channel.
  • Members use /apc view to check only their own APC (ephemeral, private).
  • Only the configured Leaderboard Roles (or moderation roles by default) can run /apc leaderboard to see the full ranking.

This is optional — when disabled, the public leaderboard embed works exactly as before.

Dashboard

The APC edit panel contains:

  • Leaderboard Channel — dropdown with text channels
  • The embed is created/moved automatically when the channel changes

Logging

Actions logged by Logs under the apc category:

  • APC Update — user, main value, second value
  • APC Remove — who removed, target user, position

Tips

Channel Lockdown

Use /lockdown on the APC channel so users can only post slash commands there. This keeps the channel clean — only the leaderboard embed and /apc commands.

For Moderators

Use /apc-remove to clean up entries from users who left the server or became inactive. The position number corresponds to the current leaderboard order.

DWS Context

APC is a Dark War Survival mechanic. Each player has two APC values — main (primary army) and second (secondary army). The ranking helps alliances and the president evaluate overall server strength.