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