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

# Join Guild After Authorization

> Automatically add a user to your Discord Server where the bot is when they log into the Dashboard.

```js theme={null}
new DBD.Dashboard({
  guildAfterAuthorization: {
    use: Boolean,
    guildId: String,
  },
});
```

## Example Usage

```javascript theme={null}
new DBD.Dashboard({
  guildAfterAuthorization: {
    use: true,
    guildId: "GUILD_ID",
  },
});
```

## Props

<ParamField path="use" type="boolean" required>
  If you want to automatically add a user to your Discord Server where the bot
  is when they log into the Dashboard.
</ParamField>

<ParamField path="guildId" type="string" required>
  The ID of the guild to add the user to.
</ParamField>
