# ApplicationBot

Namespace: Discord

## Properties

| Name          | Description                                        | Type   |
| ------------- | -------------------------------------------------- | ------ |
| Id            | The bot ID                                         | ulong  |
| Username      | The bot's username                                 | string |
| Discriminator | The bot's discriminator (tag)                      | uint   |
| AvatarId      | Hash of the bot's avar. This will be changed soon. | string |
| Token         | The bot's token                                    | string |

## Methods

### Authorize

Authorizes the bot to a guild.

#### Parameters

| Name        | Description                               | Type              |
| ----------- | ----------------------------------------- | ----------------- |
| guildId     | ID of the guild                           | ulong             |
| permissions | The permissions you want to grant the bot | DiscordPermission |
| captchaKey  | Your captcha key                          | string            |
