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