# discord/

Discord bot client for the Gitea-Discord bridge. Initializes the bot, registers slash commands, and listens for messages in PR threads to relay back to Gitea.

## Barrel Exports

```ts
import { Client } from "discord.js"

/**
 * The logged-in Discord bot client.
 *
 * Importing this module has side effects:
 * 1. Creates and logs in the Discord client
 * 2. Registers event listeners (message relay to Gitea, slash commands, status display)
 * 3. Sets up crash logging (unhandled rejections/exceptions → crash.log)
 * 4. Alerts the channel about any previous crash log
 */
const client: Client
```
