RoleArg

constructor(name: String = "Role", description: String = internalLocale.roleArgDescription, guildId: Snowflake? = null, allowsGlobal: Boolean = false)

Parameters

guildId

The guild ID used to determine which guild to search in.

allowsGlobal

Whether this entity can be retrieved from outside this guild.