Mochi Sign in

Embed editor

Open Community → Embed editor at /embeds. Manage Server is required. The embeds plugin can be disabled per server or globally.

Create and save

Enter a draft name and the message details. The editor supports 1 to 10 embeds per message, optional message text, a title and link, description, colour, author details, thumbnail and image URLs, footer, timestamp, and up to 25 fields. Fields can be shown inline and moved up or down.

The preview updates as you type. It supports basic Markdown. Discord can display text and images differently. Image URLs must use HTTP or HTTPS. The editor does not upload files.

Use the variable buttons to insert {server} or {members} in message text and embed text. Use {server_icon} in an image, icon, or link URL field to use the server icon. Mochi keeps these variables in the draft and fills them in when it sends or publishes the message. A missing server icon becomes an empty URL. These variables also work when a saved draft is used by member messages or message automation. Member messages use the member count captured at the event; other sends use the current count.

Save the draft before publishing. A server can store up to 100 drafts. Concurrent edits require a reload before saving. Drafts are stored in SQLite and survive restarts.

Discord limits apply: message text 2,000 characters; title 256; description 4,096; author name 256; footer 2,048; each field name 256 and value 1,024; total text across all embeds 6,000. The server checks these limits before saving.

Publish and update

Choose a text or announcement channel and select Publish message. Confirm the destination. You need View Channel and Send Messages in that channel. Mochi needs View Channel, Send Messages, Embed Links, and Read Message History. Permissions are checked again when publishing. Mentions do not send notifications.

Each saved draft owns one published message. After an edit, save the draft and select Update message. This updates the same message in its original channel. Open message opens it in Discord. Announcement messages can be crossposted when that channel has an enabled crosspost rule on Message automation.

Use Duplicate to start a separate draft and publish another message. A duplicate has no link to the original message. If someone deletes the published Discord message, duplicate its draft to publish a replacement.

Delete draft removes the saved draft after confirmation. It keeps the published Discord message. Remove that message in Discord if needed.

JSON

Export JSON downloads the current editor content. Import JSON loads a message with 1 to 10 embeds into a new, unsaved draft. Save it after import. Imports support the editor's fields. Unknown properties are not preserved. Files must be smaller than 100 KB.

Operations

Restart Mochi to apply the embeds plugin migration. No slash command deployment is needed. The feature uses one Mochi process and serializes changes per server. Recent Discord send retries use a stable nonce to reduce duplicate messages. Draft deletion never sends a Discord delete request.

Buttons and role menus

Add up to five controls below the embeds. Each control uses one Discord action row. Link buttons open an HTTP or HTTPS address. Role buttons toggle one role. Role menus let a member select several roles.

Both the editor and Mochi need Manage Roles and a role position above the configured roles. Staff roles, integration roles, and the everyone role cannot be self-service roles. Mochi checks the role permissions again when a member uses a control.

Save and publish the draft to activate controls. After an edit, controls wait for the new revision to be published. Deleted drafts cannot give new roles. Deleting a draft or control keeps roles already given.

Mochi tracks role sources across levels, invites, reaction roles, and embed controls. A control cannot remove a role needed by another tracked source. Roles that a member had before tracking are kept. Import and export include the control configuration.

Member messages and announcement crossposting

Open Community → Message automation. Use the Welcome, Farewell, or Boost event buttons to choose which member event to configure. Select a saved draft and destination channel. Create drafts in the embed editor; the member message form shows a text preview of the selected draft. Rules start disabled. Bots do not trigger member messages. A new boost is detected from a known previous member state; partial member updates are skipped.

Text supports {user}, {username}, {displayName}, {userId}, {server}, {memberCount}, and {members}. {username} is an alias for {user}. Names are escaped before insertion. Expanded messages must meet Discord limits. Mentions do not send notifications. Only link buttons are supported.

Each rule saves a copy of the draft. Save the rule again to use a changed draft. Editing a rule cancels its queued messages. Deleting it keeps messages already sent. Up to 25 rules and 500 queued member deliveries are allowed per server. The latest 100 delivery records are retained. The page shows the latest 30 records.

Queued events survive restarts and expire after one hour. Events missed while Mochi is offline are not replayed. Unconfirmed sends stop the rule for review. Check delivery history and Discord before enabling it again.

The crosspost section publishes new member posts and Mochi posts from selected announcement channels to followers. Other bots and webhooks are ignored. Manage Server is required for configuration. You and Mochi also need Manage Messages in the selected channel, plus the normal embed channel permissions. These permissions are checked again before delivery. Existing messages are not published.

Crossposts have a separate persistent queue with the same one-hour expiry, 500-item limit, and 100-record history. An unconfirmed crosspost pauses that channel rule. Discord can apply its own publish rate limits.