Skip to main content

The dashboard

Chancery has a web dashboard at chancery.titanite.site. Settings, modules and lists work the same on it as with slash commands. A few things live on one side only. Parity lists them.

The ? in the corner of any dashboard page links straight to the section of this page that covers it.

Signing in​

You sign in with Discord. Chancery never sees your password.

A server shows up in your picker when both are true:

  • Chancery is in that server, and
  • you are an administrator of it, or you hold the admin or staff role set on its General Settings page.

Change your roles in Discord and the list changes with them. There is nothing to grant on the dashboard itself.

What you can do depends on which of those you are:

You areOn the dashboard
A server administrator, or you hold the admin roleYou can change everything
You hold the staff roleYou can look at most pages but change nothing. A Read only note sits at the top of each page and the picker says "Staff role, read only". Every setting, list row and message field is locked and dimmed (you can still read and copy it), and the Save button, the command switches and the delete buttons are greyed out. Chancery refuses any change and asks you to find an admin. Moderation cases and form answers stay closed to you: they are for admins, and the page says so. This matches Discord, where /config is for admins

A server whose access key is missing or has run out still shows in the picker, marked No access yet, with an Ask for access link to the request form. Its pages stay closed until the server has a key. See Add the bot.

A sign-in ends after 12 hours without use, and seven days after you signed in however busy you were. You sign in again then. Only the dashboard itself can make changes for you: a request from any other website is refused, even with your cookie.

If a server is missing, check in this order: is the bot actually in it; are you an administrator there; has someone set an admin role that you do not have. The third one catches most cases. Setting an admin role does not remove Discord administrators, but it does mean somebody without either will not get in.

Home​

What this server has switched on and what still needs setting up. The strip counts modules on and settings filled in, Needs setup lists the pages with an empty required setting, and each module tile jumps to its page.

General Settings​

The settings that apply whatever modules you have on: who counts as an admin, who counts as staff, and where the bot reports its own failures.

Every value here is the same one /config set writes. The full list, with the type and default of each, is in the settings reference.

Server administrators bypass all of these. The roles exist so somebody can run the bot without being handed Administrator.

Modules​

One page per module, and each page is a directory rather than a form: a list of categories, and the settings live one level down. Events has thirteen settings, so a single page of every setting would be unreadable.

Each category row shows how many of its settings are filled in. If it says needs setup, something in there is required and empty. The module is on, but the part of it behind that row will not work until you fill it.

Every command shows in Discord's menu whether its module is on or off. Switch a module off and its commands answer that the module is not enabled. Nothing is deleted, and everything works again when you switch it back on. See Modules.

Lists​

Some categories are a list rather than a set of settings: event types, games, ticket types, panels, forms, suggestion boards, tags, statuses, factions, stores, pipeline stages, divisions.

They all behave the same way. Search, add, click a row to edit it, arrows to reorder, bin to delete. Event types and ticket questions can be reordered with the arrows.

Most of these save for real. A few work differently:

  • Forms open a builder instead of a table. See Forms.
  • Form responses and moderation cases are records, not rows you write. Each list shows the newest fifty. You can't add or delete either. On a case you can correct the reason, and the earlier reasons are kept.
  • Pipeline stages and checklist steps are fixed in the bot's code, so they show as reference and there is nothing to save.
  • Stores are fixed too, but you set each store's announcement channel here.
  • Live channels under Temporary voice channels lists every temporary channel that exists right now. It records what the bot is running, so you can't add or delete one here. Use /voiceadmin delete. Creators, on the same module, is where you set up the channels that make channels. Leave the channel blank on a new row and the bot makes the voice channel for you.

Ticket staff roles are real rows, one for each ticket type, role and level. Divisions can be added here as well.

Forms​

A form isn't a row in a table. It has pages, questions and options, so Forms under Forms and applications opens a shelf of your forms, and each form opens in a builder.

  • Build the pages and questions, set the repeat-response rule and who may or may not use it, and set up review in the Review section. It's the same channel, role and add-or-remove pickers as /formadmin review and /formadmin review-roles.
  • What you edit is a draft. People fill in the published version, so nothing reaches anyone until you press Publish. The page says so wherever the draft and the published version differ.
  • Publishing runs the same check as /formadmin check, and lists any problems in the bot's own words. Pause stops a form taking new responses, and Delete retires it.
  • A question written in Discord can carry things the builder can't show: conditions, a sensitivity setting, a regular expression. Those come back marked advanced. You can move or remove the question, but you can't edit it here, so the builder never overwrites a rule it can't see.

Responses sits beside it, read-only.

Putting a panel in a channel​

Five modules finish with a message in Discord: the controls for temporary voice channels, the button that opens a form, the message that opens a ticket, the relations grid, and the divisions directory and limitations posts. Each module's page has a block for its panel. Pick the channel and post it. Posting can't be undone from here, so the block asks you to confirm with a button that names the channel first.

A worked example: setting up Events from the web​

Turning on event hosting for a server, without touching a slash command:

  1. Sign in and pick the server from the server picker.
  2. On Home, find the Events chip among the off modules and click it. This takes you straight to that module's page rather than making you hunt for it under Modules.
  3. The Events page opens as a directory: Announcement, Who can host, Cooldowns and overrides, Vote requests, Event log. Each its own category, each showing how many of its settings are filled in. The lists Event types and Games sit beside them.
  4. Click Announcement. It says needs setup. Fill in the announcement channel and save. The hoster role is under Who can host.
  5. Back on the directory, Announcement now shows fully configured. The other categories are still optional; leave them for now.
  6. Open Event types, click Add, create ssu / "Server Start Up". Do the same under Games for at least one game.
  7. That's it. /event start in Discord now has something to offer in its dropdowns, exactly as if an admin had run /config set and /eventadmin type add by hand.

Nothing here is dashboard-only. Anyone could've done the identical thing with slash commands instead, and either path leaves the server in the exact same state, because both call the same code underneath.

Messages​

Every message the bot sends on its own, one row each, with the text it sends today. A row says what the message is called, which module sends it, and whether this server uses Chancery's own wording or a template someone wrote.

  • The pencil opens the template editor. Saving there points the message at that template.
  • Revert is one click and doesn't need the editor. The bot goes back to its own wording.
  • The eye shows the built-in wording, so you can read it without changing anything.

Eight messages can be pointed at a template today:

MessageSent when
Event announcementSomeone starts an event
Event endedAn event ends
Ticket openedA ticket channel is created
Ticket closedA ticket is closed, asking the opener to rate it
Moderation noticeA member is warned, timed out, kicked, banned or softbanned (a DM)
Form receiptSomeone submits a form. A confirmation set on the form itself wins
Divisions directory headingThe title line of the pinned directory post
Suggestion status changedA DM to the author when staff change a suggestion's status

Saved messages and Buttons and menus are separate pages in the sidebar, beside Messages.

Templates​

The sidebar calls this page Saved messages. A template is a message you build once and point things at. A ticket panel, a form panel and an event announcement are all "send this message", so they can all use the same template, and changing it changes every one of them.

Duplicate is on every row, because "the same panel with one line changed" is the thing people actually do.

Variables like ${user} and ${event.name} are filled in when the message is sent. The editor only offers the variables that make sense where the template is used, and will not save one it does not recognise.

You can use a template from a custom command, a button, or one of the built-in messages on the Messages page.

A server can keep up to 100 templates. A template's name is up to 100 characters, its text up to 4,000, its embed up to 6,000 and it holds up to 25 buttons. A button's label can be up to 80 characters, and a little fewer if it holds emoji or accented letters, which take more room inside Discord. When you reach a limit, the dashboard says which one, and nothing is saved.

The editor's Use tab puts a template to work:

TabWhat it does
SendPosts it in a channel now. You confirm with a button that names the channel, because a sent message can't be recalled
EditRewrites a message the bot already sent, in place
ScheduleSends it at a time you pick
AutomateSends it when someone says a keyword. Match anywhere in the message, the whole message word for word, or the start of it. The channel is optional, so a keyword can work across the server, but only where the person who saved it could post themselves. An automation answers once in a channel, then waits 30 seconds
StickyKeeps it at the bottom of a channel and reposts it after a cooldown. The cooldown is at least 10 seconds

A server can have 50 scheduled sends waiting at once, 50 keyword automations (a keyword is up to 100 characters) and 25 stickies. A send that has gone out, or one you cancel, stops counting.

Saved messages never ping anyone. Whatever the text says, a message sent, scheduled, automated or kept sticky by Chancery mentions no person, no role and no @everyone; the mention shows as text. You can only save a message for a channel you can see and post in yourself (a server administrator can pick any); Chancery refuses the save and says why. A server without an access key sends no scheduled messages and answers no keywords or stickies until it has one.

Components​

The sidebar calls this page Buttons and menus. Buttons and select menus. A server can keep up to 50 custom commands, and 100 buttons and 100 menus. One command or button can do up to 10 things, and a menu holds up to 25 options.

The important thing, and the thing people get wrong: this page does not build the button. The button's label, colour and emoji are set on the template. What you build here is a named set of actions, and the button points at it by name. One behaviour can therefore be shared by every button that uses that name.

An action is one of:

ActionWhat it does
Send messageReplies where the button was pressed. Can be visible only to them.
Send channel messagePosts into a channel you pick.
Edit messageReplaces the message the button is on.
Delete messageRemoves the message the button is on.
DM userSends it to them privately.
Open a formStarts one of this server's forms.
Open a ticketOpens a ticket of a type you pick.
Give / take away / toggle rolesChanges the presser's roles.

Role actions are limited on purpose. A button can only hand out roles below your own highest role, so it can never grant more than you hold. It also can never hand out a role that holds any of sixteen powers: Administrator, Manage Server, Manage Roles, Manage Channels, Manage Webhooks, Ban Members, Kick Members, Timeout Members, Mention Everyone, Manage Messages, Manage Threads, Manage Nicknames, Mute Members, Deafen Members, Move Members or Manage Events. Your server's own admin, staff, moderation and voice moderator roles (the ones set in Chancery) are refused too, whatever they hold. So is @everyone, and so is a role that belongs to a bot or integration. Taking a role away is always allowed. Chancery says which role it refused and why, and nothing is saved. Chancery checks again each time the button is pressed. The builder's roles, or the role's powers, can change afterwards, and a button whose builder has left the server stops handing out roles.

Open a form and open a ticket call straight into the same code /form and the ticket-opening flow already use, so eligibility rules, duplicate checks and the rest all still apply.

The pickers list this server's own channels, the roles you are allowed to hand out, its forms and its ticket types. If Chancery can't load a server's forms or ticket types (forms switched off, say), that action isn't offered and the page says why. A form or ticket type that was deleted after you chose it shows as "not found" until you pick another. A server with none yet says so under the picker.

Commands​

Every Chancery command, with whether it is on and who can use it. Each one has a gear that opens its settings:

SettingWhat it does
Answers when usedSwitch a command off in this server
CooldownHow long someone waits before running it again, counted per user, per channel or per server
Open toOnly these roles can run it. Empty means everyone who can already see the channel
Blocked forThese roles can't run it, even if Open to lets them in
Allowed inOnly these channels. Empty means every channel
Blocked inThese channels refuse it, even if Allowed in lets it through
Delete the reply afterChancery removes its own reply after that long

These rules apply to Chancery's own commands and to custom commands alike. If a rule can't be read, the command runs anyway: a dashboard setting is never the reason the bot stops answering.

Custom commands live here too: a name and a list of actions, the same actions the buttons use. Saving one registers it as a real slash command in this server. Discord can take a minute or two to show a brand new one in the picker after you save, the same delay /moduleadmin has always had. Renaming a command retires the old slash command and registers the new one; deleting it removes the slash command entirely. A name that collides with one of Chancery's own commands is refused when you try to save it.

Request access​

The form behind /requestaccess, at chancery.titanite.site/access. Sign in with Discord, then give a project name, say what it's for, list the server IDs you want it in, and switch on the locked modules (Diplomacy and Products) if you want them. If you already have a request in review, the page shows that one instead. A reviewer decides, the bot sends you a message on Discord, and an approved request is finished with /collectaccess in a direct message. See Add the bot.

Profile​

Who you are signed in as and which servers you can manage. Nothing is configured here.

Parity​

Settings, module switches and lists go through the same code from the dashboard and from slash commands, so a value one side refuses, the other refuses too, and both leave the server in the same state.

Some things live on one side only.

Dashboard only: saved messages and the wording of the bot's own messages, scheduled sends, keyword replies, stickies, buttons and menus, custom commands, per-command settings, the error log, adding a division, deleting suggestion boards, tags and statuses, and re-ordering ticket questions and event types.

Discord only: anything you do to a member or inside a channel. That covers warning, timing out, kicking and banning, handling a ticket from inside it, the voice controls for your own channel, trying a form out, downloading or destroying a form's answers, starting an event, accepting or denying an application from its review card, and the product pipeline.

If the dashboard is down, Discord still works. Every command keeps working without it.

Troubleshooting​

Error log​

The bot records failures that nobody in your server would otherwise hear about: a message it couldn't send, a role it couldn't add, a command that raised instead of answering. Error log in the sidebar lists them for this server, newest first. Clear all empties the list. An empty list means nothing has gone wrong.

Common problems​

What you seeUsually means
A server missing from the pickerThe bot is not in it, or you hold neither Administrator nor the configured admin/staff role.
A category says needs setupA required setting inside it is empty. Open it; the empty field says what needs it.
A command says its module is not enabledThe module is off. Switch it on from its page or with /moduleadmin. Every command shows in the menu whether its module is on or off.
A setting saved on the web but nothing changedCheck the module is on. Settings are kept whether or not the module is enabled.
A brand new custom command isn't in Discord's picker yetGive it a minute or two. Discord itself takes a moment to show a newly registered command, the same as any new slash command.
A custom command or button does nothing when pressedThe template it points at was deleted, or (for a button) its label doesn't match a Components entry's name exactly. Case-sensitive.
A message isn't on the Messages pageOnly the eight built-in messages listed under Messages can be pointed at a template.
A role missing from a role action's listIt is at or above your own highest role. That is deliberate.
A saved custom command's name was refusedIt collides with one of Chancery's own commands. Pick a different name.
A page stops on "could not check your sign-in", or a list says it could not loadChancery did not answer within 15 seconds. The bot may be restarting. Try again in a minute.
A save says Chancery "did not confirm" or "took too long to confirm"The save may have gone through. Reload the page and look before you try again.
"Unknown config key" from /config setThe key does not exist. The autocomplete matches on the setting's name as well as its key. Type what it is called.