IntegrationExpireBehavior
EnumOn this page
discord.IntegrationExpireBehavior lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.IntegrationExpireBehavior.RemoveRole0Remove Role. Use the symbolic name in bot code rather than the raw value.
discord.IntegrationExpireBehavior.Kick1Kick. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.IntegrationExpireBehavior.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.IntegrationExpireBehavior.RemoveRole)