AllowRoles()
Set Discord roles allowed to join. This function allows to optionally set a time at which users will be allowed to join.
The order in which this method is called influences the final configuration.
Parameters
roles
{ string }
A table of role IDs to be whitelisted
unix_epoch
number?
Seconds representing a point in time since January 1st 1970 00:00 UTC
Last updated
Was this helpful?