Preview environment

enum ApplicationRoleConnectionMetadataType

export declare enum ApplicationRoleConnectionMetadataType

https://discord.com/developers/docs/resources/application-role-connection-metadata#application-role-connection-metadata-object-application-role-connection-metadata-type

Members

BooleanEqual = 7

The metadata value (integer) is equal to the guild's configured value (integer; 1)

BooleanNotEqual = 8

The metadata value (integer) is not equal to the guild's configured value (integer; 1)

DatetimeGreaterThanOrEqual = 6

The metadata value (ISO8601 string) is greater than or equal to the guild's configured value (integer; days before current date)

DatetimeLessThanOrEqual = 5

The metadata value (ISO8601 string) is less than or equal to the guild's configured value (integer; days before current date)

IntegerEqual = 3

The metadata value (integer) is equal to the guild's configured value (integer)

IntegerGreaterThanOrEqual = 2

The metadata value (integer) is greater than or equal to the guild's configured value (integer)

IntegerLessThanOrEqual = 1

The metadata value (integer) is less than or equal to the guild's configured value (integer)

IntegerNotEqual = 4

The metadata value (integer) is not equal to the guild's configured value (integer)