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, except Image cards, which needs Quark Pro. 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, and any action buttons. Compact (no embed) has none.
- Embeds that were on a deleted message, such as a link preview, a GIF or a bot’s embed, are posted with the log, ahead of its line. See a deleted message’s embeds.
Basic and Detailed
Basic keeps the facts of each log and leaves out the rest:- No icons Quark draws: on the title, the field names, the footer and the buttons. Emoji somebody used in a message, a reason or a name stay.
- No name and picture above the title, on any log.
- The small print is the ID alone. “Members: 120 | ID: …” becomes “ID: …”.
- A few fields that are not facts of what happened are left out: Account created on User Joined (its new-account warning stays), Joined, Roles and Info on User Left, Roles on Bot Removed, the Quark Pro note on Server Upgraded, and Related Emoji on Sticker Created.
- A picture that shows what changed, such as a new avatar, server icon or sticker, is kept.
- Basic (no embed) is Quark’s own text without its icons, with the last line of small print cut down to the ID. The five logs above are written from Basic’s embed instead.
- A format that starts from Basic keeps all of this. A footer you write is kept as you wrote it.
- Edit Reason and Show Edits still work on Basic and Basic (no embed) logs.
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
fieldsare 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 deleted message’s own embeds are not posted with a JSON log.
A format for one log type
To make one log type look different from the rest, build a format and change that log in it. Individual Log Config no longer has a Format option. A log type that was given one of Quark’s formats there before keeps it, and the server’s format does not apply to it. Logging → Individual Log Config says so for that log type, with a Follow the server’s format button. Pressing it cannot be undone from there, because a format can no longer be chosen for one log type. On the free plan, a format chosen there before is not used. At the end of Individual Log Config, Formats and Automations shows which format the log type is posted in and whether that format changes it, with a link that opens it in Log Formats. It also lists the automation rules that watch the log type, each linking to its rule, and New for this log starts a rule that watches it.A deleted message’s embeds
When a deleted message had embeds of its own, such as a link preview, a GIF or a bot’s embed, they are posted with its log in every format except JSON, Quark’s own and the ones you build alike.- If adding them would take the log past Discord’s limits when the log alone was not, they are left off and the log is posted without them.
- The log’s files were posted in every layout before, and still are.
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.
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
Components and Image start from Quark’s own design of the log. To change the design part by part, use Advanced. On a plan without Quark Pro, Image is shown as Image (Quark Pro) and cannot be chosen.
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. A template’s layout is Embed, Plain text, Components or Image. Components and Image have editors of their own. See Components and pictures.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 hascontains,startsWithandmatches. - 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.
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.
Components and pictures
Two layouts go further than an embed:- Components lays a log out with Discord’s newer message components: boxes, text, pictures beside text, galleries, files, dividers, rows of buttons and a menu of action buttons. Quark’s Components format uses it, on every plan.
- Image draws the log as a picture and posts that, with an optional line of text. Quark’s Image cards format uses it. Both need Quark Pro, because Quark draws a picture for every log.
The Components editor
Parts you can add is on the left. Drag a part into the message, or click it to add it at the end. Each part is edited where it sits, and can be moved up and down, put into the box above or taken out of it, duplicated or deleted. A part can have Only when, a condition, and is left out of the log when it is not true.
A picture in a part is one of: Their avatar (who it happened to), Moderator avatar (who did it), Server icon, Log icon, or, in a gallery, Attached images, such as a deleted photo.
- Discord allows 40 components in one message, counting the ones inside boxes and rows, and 4000 characters of text across the whole message. The counter under the editor shows both for the log on screen.
- A button the design does not place in the message is left off, and Checks says so. A button placed twice is a mistake: Discord needs each button once.
- The log’s own buttons, such as Lock and History on a modlog, go in a Buttons row like any other.
The image editor
The picture is on the left. Click a layer to choose it, drag it to move it and drag a corner to resize it. Arrow keys move the chosen layer, and Shift moves it further. Snap lines layers up with the edges and centres. Add puts a new layer in the middle of the picture:- For a Custom shape, click points on the picture. Click the first point, or press Enter, to finish. Backspace takes the last point off. It takes three points or more.
- A shape has a fill, or none, and an outline. A rectangle’s corners can be rounded. A custom shape can be drawn again with Draw it again.
- The toolbar beside a chosen layer has Duplicate, Delete, Bring forward and Send backward. Layers, front to back lists every layer, and each one can be hidden.
- Every layer has an opacity and Only when, a condition.
- Settings has the picture’s size, with Card, Wide, Square and Tall ready-made, its background colour, a second colour for a gradient, and its corners.
- Text with the picture posts a line of text with the picture.
- Alt text for screen readers is posted with the picture. Leave it empty and Quark writes it from the log.
How these logs behave
- When a log cannot be posted this way, it is posted as Standard. That happens when it comes to more than Discord allows, when Discord refuses the message, or, for a picture, when the picture is too big to post or takes too long to draw.
- Buttons. Edit Reason and Show Edits are left off these logs. Lock and History stay. On an older modlog that still has Edit Reason, pressing it says the reason can’t be edited in this layout. See buttons a format leaves off.
- Action buttons. On a Components log, action buttons go in a Buttons row or in an Actions menu. Choosing a button in the menu does the same as pressing it. A picture log has its buttons under the picture.
- Finding them. Every log, a picture included, is in the log viewer and can be searched there. Discord’s own search cannot read the words drawn in a picture.
- Copies. An automation rule’s copy of a Components log keeps the layout, without the log’s own buttons, action buttons and files. A copy of a picture log posts the picture again.
- Below Quark Pro. A log that would be drawn as a picture is posted the way the format otherwise looks, and a server on Image cards gets Standard.
Components and picture limits
Action buttons
With Quark Pro, a format can put buttons of your own under a log that do something when they are pressed: time someone out, ban them, give a role, post a message in a channel. A link button only opens a page. An action button is made of the same blocks as a rule in Automations. A rule acts on its own when a log matches. A button waits for someone to press it, and acts for them.Add an action button
1
Open Change the buttons
On Log Formats, open a format, pick a log and press Change something, then Change the buttons. To put the button on every log, pick All logs at once in the log menu first.
2
Press Action button
It is under Add a button. Give the button a Label of up to 40 characters and a Colour: Grey, Blurple, Green or Red. Switch Quark’s icon on the button off to leave the icon out.
3
Choose which logs carry it
Press Add a condition. With no conditions, the button is on every log of that kind. See which logs carry a button.
4
Choose what it does
Press Add an action. See what a button can do.
5
Choose who can press it
Who can press it lists the Discord permissions the button asks for. Only certain roles keeps it to the roles you choose. See who can press a button.
6
Press Add button, then Save format
The preview shows the button on the log. Under What the person pressing sees is the confirmation box, if the button has one.
Which logs carry a button
Up to 8 conditions. All of them have to be true. They are the condition blocks from Automations, which says what each one tests:- Someone has a certain role
- It’s a particular person
- A bot did it
- It happened in a certain channel
- The message says something
- The account is new
- They did it to themselves
- No reason was given
- It’s a certain time of day
- The message is new, or old
What a button can do
Up to 4 actions. They run in order when the button is pressed.
“Someone” is the person it happened to or the person who did it, whichever you choose.
- Pings. A role is pinged at most once every 30 seconds. A message inside that time is still posted, without the ping. It is the limit an automation rule’s alert has, and buttons and rules share it.
- Direct messages. The message carries a small line saying it was sent by a moderator of the server. Quark does not message bots or people who have left.
- Messages in an hour. A server’s buttons send one member at most 3 direct messages an hour, whoever presses and on whichever log. All of a server’s buttons together send at most 60 messages an hour, direct messages and messages to a channel counted together. Past either, the message is not sent and the reply says so. A message that could not be sent for another reason is not counted. Timeouts, kicks, bans and the other actions are not counted.
Only what a log can do is offered:
- Delete the message is only offered on logs about an edited or a pinned message, where the message still exists.
- A log where Quark is not sure who did it never gets a button that acts on the person who did it. Neither does a log that came through another moderation bot, where Quark shows “using” and the bot’s name. It is the same rule as never on a guess in Automations.
- Somebody who has left the server cannot be sent a direct message.
- A button set for All logs at once is left off the logs it does not fit.
Who can press a button
Quark checks the person pressing every time.- A button with several actions needs the permission for each of them.
- Tell a channel also needs the person pressing to be able to see the channel and send messages in it. In a thread, that is Send Messages in Threads. Otherwise the reply says they can’t post there themselves, so the button can’t post there for them. The server owner and members with Administrator are not stopped by this.
- The moderation actions and Give or take a role cannot be used on the person pressing the button. The reply says “You can’t use this on yourself”. A direct message to yourself is still sent.
- The dashboard and Quark’s replies call Timeout Members “Moderate Members”. It is the same permission.
- The highest role of the person pressing has to be above the member’s highest role, and so does Quark’s.
- The server owner can always press.
- Only certain roles narrows it further, to up to 10 roles. The person pressing then needs one of those roles as well as the permissions. Only the server owner gets past the list. Someone with Administrator and none of the roles does not.
- Quark needs its own permission for each action too, as it does for a rule. See permissions.
When a button is pressed
- A button that moderates opens a confirmation box first. Quark writes the box. It lists exactly what will happen, whatever the button’s label says. It has an optional Reason, which goes in the audit log and on the modlog.
- A button that only sends messages, with nothing but Tell a channel or Send someone a DM, acts straight away.
- On a Components log, action buttons can be in an Actions menu instead of a row. Choosing one in the menu is the same as pressing it.
- Actions run in order. If one cannot be done, the rest are not.
- The person pressing gets a private reply saying what was done.
- A button stays pressable. It cannot be pressed again on the same log for 10 seconds.
- The ban, kick or timeout is logged as usual, and names the person who pressed.
- The press itself is recorded as a Rule Action log, titled “Button Pressed”. Only a press that did something is recorded.
- The record follows the switch for the Rule Action log type. With that log switched off there is no record of the press itself. The ban, kick or timeout is still logged as usual.
- In the log viewer, a press reads as who pressed which button about which member: “mara pressed the “Ban” button about nova”.
Who can add or change one
Adding or changing an action button takes more than editing a format:- Manage automations under dashboard access, as well as Manage log settings. Anyone who manages the server in Discord has both.
- A signed-in dashboard session. An API token cannot add or change one.
- The Discord permission for each action the button takes. You need it yourself, the same as the person pressing. See the table under who can press a button.
After a button is changed
- Editing a button changes what it does on logs already posted. A press does what the format says now.
- Deleting the button, or the format, stops it working on logs already posted. Undo brings a deleted format back, but its buttons on those logs do not start working again.
- Logs posted before a button was added do not get it.
Where action buttons are left off
- A server without Quark Pro. If a server leaves Quark Pro, its action buttons are kept in the format and left off logs until it is back.
- A format shared by link. The link never carries action buttons, because they name this server’s channels and roles. Whoever adds the format builds their own.
- Compact (no embed) and JSON. Those logs have no buttons, so they cannot carry an action button. The same goes for a log in the One line of text layout. A compact embed keeps its action buttons.
- A rule’s copy of a log. A copy that an automation rule sends to another channel does not carry action buttons.
Share a format
Share on a format gives it a link, such asquark.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.
- Action buttons are never carried. They name your server’s channels and roles.
- 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.
Add a format from a link
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.
- The copy has no action buttons, whatever the format had. Build your own.
How a format is applied
Quark decides how to post each log in this order:- A free server: the one of Quark’s formats the server uses.
- A log type that was given one of Quark’s formats under Individual Log Config, before that option was removed: that format. See a format for one log type.
- The format you built and chose with Use this format.
- 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 or its action 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. A Components or picture log that Discord refuses is posted again 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.
- Action buttons are kept in the format when a server leaves Quark Pro. They are left off logs until it is back.
- Logs drawn as pictures need Quark Pro. Without it, a log that would be a picture is posted the way the format otherwise looks, and a server on Image cards gets Standard. A format can still start from Image cards on any plan, and its preview shows the picture.
- On a server under 1,000 members, each vote on Top.gg unlocks Pro Lite 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.

