# LinkedRoleRecord

`interface` in `plugin-linked-roles` · v0.1.0

<https://seedcord.org/docs/packages/plugin-linked-roles/0.1.0/interfaces/linked-role-record>

One value that Discord compares for a Linked Role, like matches won or a "verified" flag. A server admin
sets a role's requirement against it.

Its key in `records` can only use `a-z`, `0-9`, and `_`, and can be 50 characters long at most.

```ts
interface LinkedRoleRecord
```

## Properties

### description

```ts
description: string;
```

A longer explanation of the record. 200 characters at most.

### descriptionLocalizations

```ts
descriptionLocalizations?: LocalizationMap | undefined
```

The description in other languages, by Discord locale code.

### name

```ts
name: string;
```

What Discord shows for the record. 100 characters at most.

### nameLocalizations

```ts
nameLocalizations?: LocalizationMap | undefined
```

The name in other languages, by Discord locale code.

### type

```ts
type: ApplicationRoleConnectionMetadataType;
```

A member of `RecordType`, which sets how Discord compares the value. `values` returns a whole number
for an integer type, a `Date` for a datetime type, and `true` or `false` for a boolean type.

`RecordType` is `ApplicationRoleConnectionMetadataType` from `discord-api-types` under a shorter name.
