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

# Events

> Discord events that Flamey listens to.

Flamey listens to a variety of Discord events to power its features. Understanding these events can help you troubleshoot why a feature might not be working.

## Key Events

<CardGroup cols={2}>
  <Card title="messageCreate" icon="message">
    Triggered when a message is sent. Used for **Auto Moderation**, **XP System**, **Auto Responders**, and **Message Tracking**.
  </Card>

  <Card title="guildMemberAdd" icon="user-plus">
    Triggered when a user joins. Used for **Join Guard**, **Welcome Messages**, and **Auto Roles**.
  </Card>

  <Card title="guildMemberRemove" icon="user-minus">
    Triggered when a user leaves. Used for **Leave Messages** and cleaning up user data.
  </Card>

  <Card title="interactionCreate" icon="hand-pointer">
    Triggered by **Slash Commands**, **Buttons**, and **Select Menus**. Essential for most user interactions.
  </Card>

  <Card title="voiceStateUpdate" icon="microphone">
    Triggered when a user joins/leaves voice. Used for **Join to Create (JTC)** channels and **Music** features.
  </Card>
</CardGroup>

<Info>
  Some events might require specific **Privileged Intents** to be enabled in the Discord Developer Portal if you are hosting your own instance of the bot.
</Info>
