> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lucie.elxy.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Snipes

> Recover deleted messages, edits, and removed reactions from the last 2 hours, straight from Lucie's memory.

Someone deleted a message right when you were about to read it? Lucie's <Tooltip tip="Recovering a message that was just deleted in the channel.">snipe</Tooltip> system recovers what just vanished from the channel: deleted messages, edits, and removed reactions. Everything lives in memory only, expires after 2 hours, and never touches the disk.

## Why Lucie's snipe is different

Most bots rely on Discord's message <Tooltip tip="The temporary memory where Discord keeps recent messages; it is limited and clears itself.">cache</Tooltip>: if the message was no longer cached when it got deleted, there's no snipe. Lucie keeps her own lightweight <Tooltip tip="Lucie's own in-memory record of recent messages, separate from Discord's cache.">buffer</Tooltip> of recent messages, so snipes cover the full 2 hours.

| Feature           | Lucie                                                                                                      | Typical bots                              |
| ----------------- | ---------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
| Coverage          | Her own buffer: the full 2 hours, even if the message is no longer cached                                  | Only whatever survives in the cache       |
| Navigation        | ◀ ▶ buttons on the same embed                                                                              | Re-running the command with blind indexes |
| Edits             | Before and After, with a link to the message                                                               | Only the original text                    |
| Content           | **Re-uploaded** attachments (images, animated GIFs, and videos actually play), stickers, and reply context | Usually just the text, or a dead link     |
| Moderation purges | **Never recoverable** — privacy by design                                                                  | Sometimes they do show up                 |
| Discord invites   | Filtered on display                                                                                        | Shown as-is                               |
| Storage           | Memory only: nothing is saved to disk                                                                      | Varies                                    |

<Note>
  When moderation purges messages in bulk, those messages **never** generate snipes. What a moderator cleans up stays cleaned up.
</Note>

## Button navigation

The three lookup commands reply with a navigable embed:

* **◀ ▶** — move between records without re-running the command. Only the person who ran the command can navigate; the buttons deactivate after 2 minutes.
* **✖️** — dismisses the reply.
* The optional `[index]` opens a specific record directly: `1` is the most recent.

Any Discord invite inside the content is shown as `[invitación filtrada]` (filtered invite).

## !snipe

Recovers the channel's most recently deleted messages: text, attachments (with a preview if it's an image), stickers and, if it was a reply, who it was replying to plus an excerpt of that message. The embed shows when it was sent and when it was deleted.

**Usage:** `!snipe [index]`

**Aliases:** `sn`, `snip`

**Examples**

```text theme={"dark"}
!snipe
!snipe 3
```

## !editsnipe

Shows the channel's latest edits with the **Before** and **After** text, plus a link to jump to the edited message.

**Usage:** `!editsnipe [index]`

**Aliases:** `esnipe`, `esn`

**Examples**

```text theme={"dark"}
!editsnipe
!editsnipe 2
```

<Tip>
  Only edits that change the text are recorded. If the only thing that changed was an embed (for example, a link preview loading in), it doesn't count as an edit.
</Tip>

## !reactionsnipe

Shows the latest reactions removed in the channel: who removed which emoji, which message it was on (with a direct link) and, if it's a custom emoji, its image as a thumbnail.

**Usage:** `!reactionsnipe [index]`

**Aliases:** `rsnipe`, `rs`

**Examples**

```text theme={"dark"}
!reactionsnipe
!reactionsnipe 2
```

## !clearsnipe

Clears the channel's snipe records, with two scopes:

* **`!clearsnipe`** (no arguments): deletes **only your own trail** — your deleted messages, your edits, and your removed reactions. Anyone can clear their own, no permissions needed. Anything you send from that point on becomes snipeable again.
* **`!clearsnipe all`**: deletes **all** of the channel's records (deletions, edits, and reactions). Requires the **Manage Messages** permission.

Lucie confirms how many records she cleared and **her reply deletes itself after one second**: clearing your trail shouldn't leave a trail that you cleared it. For the same reason, the `!clearsnipe` message itself is never snipeable, even if you delete it by hand. Only works in servers.

**Usage:** `!clearsnipe [all]`

**Aliases:** `clearsnipes`, `cs`

**Examples**

```text theme={"dark"}
!clearsnipe
!clearsnipe all
```

<Tip>
  Letting anyone erase their own trail is deliberate: your messages are yours. Most bots only let moderators clear the snipe — or don't allow clearing it at all.
</Tip>

## Frequently asked questions

<AccordionGroup>
  <Accordion title="Why doesn't a message I know was deleted show up?">
    Possible causes:

    * **More than 2 hours have passed** since it was deleted: the record has already expired.
    * **It was removed by a moderation purge**: purged content is never recoverable, by design.
    * **The author was a bot**: bot messages are ignored.
    * **The message had nothing to show**: with no text, attachments, or stickers (for example, a message that only contained an embed), it isn't recorded.
  </Accordion>

  <Accordion title="Who can clear the snipes?">
    Anyone can erase **their own trail** with `!clearsnipe` (no permissions). To wipe the **entire** channel you need `!clearsnipe all` and the **Manage Messages** permission. The lookup commands (`!snipe`, `!editsnipe`, `!reactionsnipe`) don't require any special permissions.
  </Accordion>

  <Accordion title="When do records expire?">
    Each record expires exactly **2 hours** after it happens, and each channel keeps at most the **25 most recent records** of each type. Everything lives only in Lucie's memory — nothing is written to disk — so if the bot restarts, the records disappear too. If you need them gone sooner, use `!clearsnipe`.
  </Accordion>
</AccordionGroup>

<Note>
  Questions, or something that doesn't add up? Drop by the [support server](https://discord.gg/VqyAZJ2mFc) or review your settings in the [web dashboard](https://lucie.elxy.dev).
</Note>
