# Quickstart

Discremy reads configuration from `config.discremy.js` in the project root.

## Full example

```js
const { GatewayIntentBits } = require('discord.js');

module.exports = {
  bot: {
    token: 'YOUR_BOT_TOKEN',
    clientId: 'YOUR_CLIENT_ID',
    avatar: null
  },
  intents: [
    GatewayIntentBits.Guilds,
    GatewayIntentBits.GuildMessages,
    GatewayIntentBits.GuildMembers,
    GatewayIntentBits.MessageContent
  ],
  api: {
    enabled: false,
    port: 3000
  },
  modules: {
    mongodb: {
      enabled: false,
      uri: 'mongodb://127.0.0.1:27017',
      name: 'discremy_db'
    },
    mysql: {
      enabled: false,
      host: '127.0.0.1',
      port: 3306,
      user: 'root',
      password: '',
      database: 'discremy_db'
    }
  }
};
```

## Required keys

* `bot.token`
* `bot.clientId`

## Module keys

* `modules.mongodb`: `enabled`, `uri`, `name`
* `modules.mysql`: `enabled`, `host`, `user`, `database`

## Notes

* Enable only the modules your bot uses
* Install the matching package for every enabled module
* Startup validation checks dependencies and required fields


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.discremy.com/documentation/getting-started/quickstart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
