Asked for: the alliances move to their own Discord server with the roles Force Commander, Legion Lead, Legion
Officer and Legionär. Decided: everyone with a role there sees the Consilium (our members too), no role per legion
(assignment stays on the website), new accounts are approved by our admins, rights per role as planned, a
permission for Consilium calendar entries that is assigned later. Server ID 1553882046793777283.
- Two Discord servers: settings.consilium_guild_id (seeded, Verwaltung -> Discord-Bot with a check whether the bot
is there); a group's role lies on one of them (roles.discord_guild_id, NULL = legion, schema 71). Login and the
periodic sync read both memberships (discord_fetch_memberships/discord_apply_memberships) and sync groups per
server; name, avatar, joined date and classes come from the legion server, for allies from the Consilium server.
- Leaving: whoever leaves a server loses its groups; an account is deactivated only when it is on neither
(discord_member_left_guild; bot_api.php takes in_guilds from the bot, the sync checks all servers, older bot
versions cannot deactivate Consilium members). Logout text no longer names a server.
- Group form lists the roles of both servers, the group list marks Consilium roles; Consilium-Raids channel is
chosen from the Consilium server's channels.
- Rights per area: consilium.raids / consilium.raids.manage for Consilium raids (create, manage, restore, delete),
raids.create / raids.manage only for legion raids (raid_area_can_create, raid_area_can_manage_all,
raid_can_manage asks the raid's area). consilium.calendar: only with it Consilium calendar entries (allies without
it cannot add entries; legion members with it get "Für wen?" with legion/Consilium).
- Consilium member list: everyone with a role on the Consilium server - our legion as its own section, allied legions,
without legion - with the Consilium ranks as tags; legion list and profiles leave the Consilium groups out for
those who do not see the Consilium. Allies pick their class in the profile.
- Consilium admin page: setup checklist for the new structure with the groups of the Consilium server and their
rights (setup only for roles.manage). Privacy page, README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The report panel in Discord ("Mitglied melden", bot deployed with this change) now says what it is
for and how reports count: points per report (from the role weights, e.g. Veteranus 3), the mute
threshold, 48 hours on the "Stille Treppe" and that reports expire after 10 days. The bot updates
the panel by itself when the threshold or the role weights change here.
- Verwaltung -> Discord-Bot: when posting the report panel, pick the role that gets pinged
("Arieluma @Rolle!" above the panel - only that text pings) and the leadership role that is named
in the text (without ping). Both are sent as ping_role_id / lead_role_id, stored by the bot and
preselected next time; the audit log names them. Unknown roles are rejected.
- Texts say "Mitglied melden" instead of "Spieler melden"; the reports settings mention that the
panel follows threshold and weights.
- README and patch notes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bot (Aion2_RaidPlaner, deployed 2026-09-25) has no slash commands any more. Raids,
premades, events, activity checks and reports are created and managed only here; in Discord
members sign up for raids, answer invitations and activity checks and report players.
- Raid signup works the same in Discord and here: the bot assigns the group (perform_signup),
the website only sends the wish (raid_signup(..., $wish)) and shows the reason when it did
not fit (locked, role full, raid full). raid_wish_is_sensible() and the role constants are
gone. Declining ("Abmelden") now keeps the player under "Abgemeldet" (raid_decline, new bot
endpoint .../decline) like in Discord; the raid card shows "Du hast dich abgemeldet" with
"Doch anmelden". Class input is checked against AION_CLASSES.
- The Discord message shows the raid lead and the Lumipunkte: raid_create_action/raid_edit_action
send lead_id/lead_name/points_text, raid_sync_extras() on raids.php pushes them for raids
where the bot is missing them (at most 3 per page view, follows changed raid IDs).
- bot_api.php?action=member: main class (profile choice) and whether the person has an
(active) account - the bot preselects the class and hints that Lumipunkte need an account.
- New page Verwaltung -> Discord-Bot (admin/bot.php, includes/discord_bot.php, permission
bot.manage, on update granted to groups with raids.manage; schema 53): raid, log and report
channel, post the premade overview (updates itself) and the report panel (the bot replaces
the previous one), resync all raid messages (reposted raids move their settings via
raid_rename_id). Audit area "Discord-Bot", sidebar entry with a new bot icon.
- Reports: after picking a player in the filter, delete all of their reports at once
(DELETE /api/reports/user/{id}), which also lifts the auto-mute.
- Calendar and raid logs no longer count declined players as signed up / on the bench.
- Texts that mentioned bot commands (events, activity check, config example, README) updated;
privacy policy mentions the main-class lookup and that declines stay visible. Patch notes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>