Skip to main content
A format decides how Quark’s logs look: an embed or plain text, full or compact, which parts are shown, what the buttons are. Use one of Quark’s own formats, or build your own and change one log at a time. Formats are on the dashboard under Log Formats in the sidebar, between Log Viewer and Automations. The Quark and Quark Pro bots each have their own formats. A format only changes how a log looks. To have a log ping someone, carry a notice or not be sent at all, make a rule in Automations.

Quark’s formats

  • Preview with chooses the log every format on the page is drawn on.
  • Use this format applies at once to every log, with Undo.
  • See every log shows one format on every kind of log Quark sends, with a search box.
  • Quark’s own formats are free on every server. A format you made needs Pro Lite or Quark Pro to post logs. See what each plan gets.

What a compact log contains

  • The title in bold, then one line with the log’s details joined by ” · ”.
  • For a deleted or edited message, the first line of the message on a quote line underneath, with ”…” when there is more.
  • Lines a format added, and a rule’s notice, in full.
  • Files stay attached. A picture the embed would have shown, such as a new avatar, is attached as a file.
  • Compact keeps only the log’s own buttons, such as Lock. Compact (no embed) has none.
  • Embeds that were on a deleted message are not re-posted beside a compact log.

Basic and Detailed

  • Basic takes off only the icons Quark draws: on the title, the name above it, the field names, the footer and the buttons. Emoji somebody used in a message, a reason or a name stay.
  • Edit Reason and Show Edits still work on Basic and Basic (no embed) logs.
  • Detailed adds every extra detail from Show extra information that the log has.
  • A format you build can start from Basic, Basic (no embed) or Detailed. It cannot start from JSON.

JSON for other bots

Each log is posted as one JSON object in a code block. Another bot can read the message, take the text between the first line and the last, and parse it.
  • Every key is always there. A key the log has nothing for is null.
  • IDs are strings. Mentions in fields are Discord’s own (<@id>).
  • A backtick is written as \u0060, so nothing in a log can end the code block.
  • A log too long for one Discord message has its longest text shortened first, ending in ”…”. IDs, times and the type are never cut.
  • JSON logs have no buttons, and files are still attached.

A format for one log type

Logging → Individual Log Config → Format sets one of Quark’s formats for a single log type, or Server default. A format chosen there is used for that log type instead of the server’s format, including a format you built.

Build your own

1

Press Create a format

Give it a name of up to 40 characters and choose what it Starts from: one of Quark’s formats, or a copy of one of yours. Names are unique on a server.
2

Pick a log and press Change something

A format changes one log at a time. The log menu is grouped by category and can be searched. A log you leave alone keeps looking the way it does now.
3

Check the two previews

What Quark posts now is beside what your format posts. The example menu above them switches between the ways the same log can turn out: with a reason or without, done by a moderator, with a file. Each change is listed as a sentence with Edit and Remove.
4

Press Save format

Nothing is saved until you do, and leaving with unsaved changes asks first. Saving does not switch your logs over. Go back to All formats and press Use this format.
To rename a format, change Format name in the builder and save. The … menu on a format’s row has Share, Duplicate and Delete. Deleting the format in use puts your logs back on one of Quark’s formats, and the message that says so has Undo.

Show extra information

Adds something the log knows but leaves out, as a field after the log’s own. Only what the log has is offered. These field headings are in English whatever your server’s language.

Hide or spoiler something

Each part of the log can be set to Show, Hide or Spoiler. Hiding the picture also stops its file being posted. A file already marked by Logging → Other → Spoilers is not marked twice.

Write your own text

Leave a box empty to keep Quark’s wording. The Put in chips add a value from the log: For a single log, only the chips that log can fill are offered. A deleted message has no {{reason}}.

Change the buttons

Choose which buttons a log has and their order: User ID, Support Server, Customise, and The log’s own buttons, such as Edit Reason and Lock on a modlog. The list starts from the buttons you have switched on under Logging → Other → Buttons, and replaces that setting for the logs the format covers. You can add link buttons, and Jump to message is ready-made.
  • A log can have 5 link buttons. A label is up to 40 characters and a link up to 400.
  • A link has to start with https://, with the site’s address written out as far as the first /. Values from the log can only come after that: https://example.com/users/{{target.id}}.
  • If the log has nothing for a value in a link, the button is left off that log.

Change the colour or layout

The colour is one of twelve swatches, any colour from the picker, or a hex code. Quark gives each kind of log its own colour, and one colour for everything loses that. Plain text has no colour.

All logs at once

All logs at once is the last entry in the log menu, for the few things you want on every log, such as the buttons.
  • What you change on a single log wins over what is set here for its layout, colour, footer and buttons. Hidden parts, extra information and added lines add up, so one log can carry 4 lines from here and 4 of its own.
  • A title cannot be set for all logs at once, and neither can Advanced.

Buttons a format leaves off

Edit Reason and Show Edits read the log back as Quark lays it out. Where a format moves what they read, the button is left off and the preview says so. Lock and History always stay. Changing only the colour, the wording of the title or footer, extra information or the buttons keeps both.

Advanced

With Quark Pro, the Advanced switch turns one log into a template. It starts from what the log looks like now, with each part Quark writes as a token, and can be edited in parts or as JSON. A template posts the fields it lists and no others.

Tokens

Filters and conditions

A condition goes in {{#if …}}, or in Only when on a field or a link button. It is written in the same language as an Advanced condition in Automations.
  • A field on its own asks whether the log has it: {{#if reason}}.
  • Join with &&, || and !. Compare with ==, !=, <, <=, > and >=. Text has contains, startsWith and matches.
  • A condition cannot name a role, member or channel, because a format has to work on any server it is added to. It cannot count either.
  • A condition about something the log does not say is false.
There are no loops and no scripts. A template can only read the log it is drawing.

Checks

Checks lists what is wrong with the template on the example on screen: an unknown token, an {{#if}} that is not closed, a part longer than Discord allows on this log, more than 25 fields.
No log is lost to a format. If a template has a mistake, or what a format makes is too big for Discord, Quark posts that log as Standard.

Share a format

Share on a format gives it a link, such as quark.bot/f/staff-room-7kq2m9x4. Save the format first.
  • The link carries how the format changes logs: the layout, wording, colours and buttons. It carries nothing from your server: no names, channels, roles, members or logs, and not who made it.
  • Anyone with the link can look at the format and add a copy to a server they manage. Each server gets its own copy, and changes you make later do not reach it.
  • Switch the link off in the same place. Nobody can open it then, and copies people already added stay as they are. Switching it on again brings the same link back.
  • Renaming the format does not change its link. Deleting the format ends the link for good.
  • The page the link opens can take up to a minute to show that a link was switched off or a format edited.
Press Add from a link and paste the link.
  • Before anything is added, you see the format on a log, which logs it changes, and where any link buttons in it lead.
  • You get your own copy, which you can change. Your logs do not switch over until you press Use this format.
  • Logs that use Advanced arrive parked on a server without Quark Pro.
A shared format is someone else’s wording. Read its added lines and check where its link buttons lead before you use it.

How a format is applied

Quark decides how to post each log in this order:
  1. A free server: the one of Quark’s formats the server uses.
  2. A log type with its own format under Individual Log Config: that format.
  3. The format you built and chose with Use this format.
  4. Otherwise, the one of Quark’s formats the server uses.
  • Three logs take no format’s changes: Multiple Voice Channel Events, Multiple Reactions Removed and Rule Action. They are posted as Quark writes them, as an embed or as text to match the format.
  • Automations. A rule’s colour wins over the format’s. A rule’s notice is kept in every layout. A rule’s copy of a log is posted in the server’s format, without the log’s own buttons.
  • Too big for Discord. Extra information is dropped first and added text is cut. If the log still does not fit, it is posted as Standard.
  • Other languages. A format finds a field by its English name. If Quark cannot work that name out for a log on a server that uses another language, a hidden or spoilered field stays visible on that log, and an Advanced template that reads fields by name is not used for it. This is always so for Reaction Removed.

Limits

What each plan gets

  • On Pro Lite, a format’s changes to All logs at once apply to every log, and are not counted in the 10.
  • When a plan ends, nothing is deleted. Logs the plan does not run are Parked: they look the way every log in the format does, and their own changes come back with the plan. On a free server the format is kept as it was and logs go back to the one of Quark’s formats the server chose before, or Standard.
  • Each vote on Top.gg unlocks Pro Lite on your server for 24 hours. See voting.

Who can view and edit formats

Editing covers creating, changing, deleting, duplicating, sharing, adding from a link and choosing which format is in use. Someone who can only view can still look at every format on every log.

What is logged

Changes to a format you built produce a Logging Options Updated log in the Quark Events category, with who made the change: Created, Added from a link, Edited, Renamed, Deleted, Now in use, No longer in use, Shared with a link and No longer shared with a link. Choosing one of Quark’s formats is logged as a change to the server’s format. A change made by someone on your Who did it ignore list is not logged.