Discord bot
The bot does three jobs on your Discord server:
- Killboard: posts the kills and deaths of the guilds and players you follow.
- Registration: gives Discord roles to the people actually in your Albion guild or alliance, and takes them back when they leave.
- Posts from the site: CTA sign-ups, battleboards, loot splits, join applications and balance changes, each in the channel you pick on the site.
Its commands are grouped by module: /killboard …, /registration … and /lookup …. They need Discord's Administrator permission, and Discord hides them from everyone else. Members only see /register. Every option of every command is in the bot commands reference.
Add the bot
The guild's owner adds it in Admin → Settings → Guild & alliance → Add the bot (see Getting started). Discord asks which server: pick yours and authorize.
What the bot needs on your server:
| For | Permission |
|---|---|
| Every post | View the channel, Send messages, Embed links, Attach files |
| Registration roles | Manage roles, with the bot's role above the roles it gives |
| Nickname tags | Manage nicknames (it can't rename the server's owner) |
| Kick on leave | Kick members (only if you turn kick on leave on) |
Killboard
The killboard needs the Guild plan on the guild linked to your Discord server.
/killboard setup: the Albion server, the channel for kills, the channel for deaths, and optionally a channel for juicy kills and a minimum fame./killboard add_guild: follow a guild by its exact name (yours, an ally, a rival). Every member of it is followed./killboard add_player: follow one player, whatever their guild./killboard config: check the channels, filters, and the guilds and players followed.
What gets posted:
- A kill when the killer is followed, a death when the victim is followed. Each post shows the fight with both players' gear.
- A kill whose loot is worth more than 10 million silver goes to the juicy kills channel when you set one, otherwise to the kills channel.
- With a minimum fame, smaller kills and deaths are skipped.
- Only fights on the server you chose. Fights older than 6 hours (after a bot outage, say) are skipped instead of flooding the channel.
Only what you follow is posted. Guilds and alliances registered for Discord roles are not followed: to post an ally's kills, add that guild with /killboard add_guild. Servers set up before these commands existed may still follow guilds from the older setup; /killboard config lists them under "Older setup".
| Command | What it does |
|---|---|
/killboard setup |
Server and channels, minimum fame |
/killboard config |
Channels, filters, followed guilds and players |
/killboard add_guild / remove_guild |
Follow or stop following a guild |
/killboard add_player / remove_player |
Follow or stop following a player |
/killboard guilds / players |
List what is followed |
Registration roles
Registration is free.
/registration setup: the Albion server, and whether people are kicked from Discord when they leave the guild in game./registration add_guildor/registration add_alliance: which guild or alliance gives which role. Use the Albion id:/lookup guildand/lookup alliancefind it.tagandshould_renameadd a tag to nicknames:TRIXbecomes[TRIX] Name(32 characters at most).auto_register_roleregisters right away the people who already have the role and are on the roster.
- Members run
/registerwith their exact character name (capitals count). They get the role of their guild or alliance. /registration configsums it up.
The bot keeps it in line with the roster, every 15 minutes:
- Someone no longer on a registered roster loses the role and the tag, is unregistered, and is kicked if kick on leave is on.
- Taking the role away by hand also removes the tag; once no registration role is left, the member is unregistered.
| Command | What it does |
|---|---|
/registration setup |
Server and kick on leave |
/registration edit |
Change kick on leave, or a guild's or alliance's tag |
/registration config |
Settings, registered guilds and alliances |
/registration add_guild / remove_guild |
Give or stop giving a role for a guild (clear_roles takes it from everyone) |
/registration add_alliance / remove_alliance |
The same for an alliance |
/registration add_member |
Register someone for them |
/registration rename_member |
Change someone's character name |
/registration remove_member |
Unregister someone and take their roles |
/registration registered / unregistered |
Who registered, and who on the roster hasn't (20 per page) |
/registration auto_link |
Register everyone whose Discord name matches a roster name |
/registration cleanup |
Remove the registrations of people who left the Discord server |
/register |
For members: register your own character |
Lookups
| Command | What it does |
|---|---|
/lookup guild |
Find a guild and its id by name |
/lookup alliance |
Find an alliance and its id, by id or by the name of a guild or player in it |
Posts from the site
These need no command: pick the channel on the site, the bot posts there. All need the Guild plan.
| Post | Where to set it |
|---|---|
| CTA messages with sign-up buttons, and pings before the mass-up | Admin → Settings → CTA planner (see CTA planner), and Admin → Settings → Discord for the pings |
| Battleboards of your fights | Admin → Settings → Battleboards |
| Published loot splits | Admin → Settings → Discord |
| Join applications from your public page | Admin → Settings → Discord |
| Balance changes made by officers | Admin → Settings → Discord (leave the channel empty to post nothing) |
Market orders go to Discord through a webhook you set in the market's settings, not through the bot.
Old command names
The commands were grouped into modules. If you used the old ones:
| Before | Now |
|---|---|
/setup_kd_bot |
/killboard setup |
/show_config |
/killboard config |
/add_guild_to_kd, /remove_guild_from_kd |
/killboard add_guild, /killboard remove_guild |
/add_player_to_kd, /remove_player_from_kd |
/killboard add_player, /killboard remove_player |
/list_guilds_kd, /list_players_kd |
/killboard guilds, /killboard players |
/setup_register, /edit_register_setup, /show_register_setup |
/registration setup, /registration edit, /registration config |
/register_guild, /unregister_guild |
/registration add_guild, /registration remove_guild |
/register_alliance, /unregister_alliance |
/registration add_alliance, /registration remove_alliance |
/register_member, /edit_register, /unregister |
/registration add_member, /registration rename_member, /registration remove_member |
/show_registers, /show_unregisters |
/registration registered, /registration unregistered |
/auto_register, /fix_register |
/registration auto_link, /registration cleanup |
/find_guild, /find_alliance |
/lookup guild, /lookup alliance |
When something is off
- The commands don't show: you need Administrator on the server. After an update, Discord can take a moment to show the new commands; restarting Discord helps.
- Nothing is posted: check
/killboard config, that the bot can see and write in the channel, and that the guild is on the Guild plan. - Kills of a guild you don't want:
/killboard configshows what is followed; remove it with/killboard remove_guild. Registering an alliance for roles never adds it to the killboard. - A member doesn't get the role: the name must match the character exactly, the character must be on a registered roster, and the bot's role must sit above that role.