# $inviteInfo

Reads an invitation from Discord by code or link. Bot Creator function, not in the official BDFD wiki.

## Syntax

```
$inviteInfo[codeOrLink;(property)]
```

## Parameters

| Parameter | Description |
|---|---|
| `codeOrLink` | **Required.** `abc123`, `discord.gg/abc123` or a full invite link. |
| `property` | Optional. `code`, `channel`, `channelID`, `guildID`, `guildName`, `inviter`, `inviterID`, `memberCount`, `onlineCount`, `expiresAt`, `isTemporary`, `maxUses`, `uses`, `creationDate`, `json`. |

## Return Value

- The invitation as JSON, or the requested property.

## Example

```bdfd
$inviteInfo[discord.gg/abc123;guildName]
```
