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

# Mog battle

> 1v1 selfie battles judged by AI.

## <Icon icon="camera" size={24} /> Start a battle

Works in any channel.

<CodeGroup>
  ```plaintext Syntax theme={null}
  /mogbattle join [opponent]
  ```

  ```plaintext Example theme={null}
  /mogbattle join opponent:@Alex
  ```
</CodeGroup>

* **No opponent:** posts an open invite with a **Join battle** button anyone can press.
* **With an opponent:** only that person can accept.

## <Icon icon="gears" size={24} /> How it works

<Steps>
  <Step title="Both fighters post one selfie">
    Each photo is removed the moment it's posted, so nothing shows before the result.
  </Step>

  <Step title="The AI judges">
    It compares only the two photos, on the same criteria every time.
  </Step>

  <Step title="Newt posts the result">
    The winner in colour. The loser in black and white with **MOGGED** stamped on it. A score under each.
  </Step>
</Steps>

## <Icon icon="shield" size={24} /> For admins

<AccordionGroup>
  <Accordion title="Check the judge" icon="stethoscope">
    Whether the AI judge is ready and what's running.

    ```plaintext theme={null}
    /mogbattle status
    ```
  </Accordion>

  <Accordion title="Cancel everything" icon="xmark">
    Cancels every battle and invite in the server.

    ```plaintext theme={null}
    /mogbattle cancelall
    ```
  </Accordion>
</AccordionGroup>

## <Icon icon="circle-info" size={24} /> Good to know

* Invites expire after 5 minutes. Fighters have 3 minutes to post.
* Your first photo is your entry.
* Photos are never saved. Only the names, scores and winner are kept.
* Newt needs **Send Messages**, **Manage Messages** and **Attach Files** in the channel.
* You can challenge Newt. Newt wins 100 to 0.

**Permission:** `/mogbattle join` is for everyone. `status` and `cancelall` need Manage Server.
