RoleSelectMenuBuilder

export class RoleSelectMenuBuilder extends BuilderRoleSelectMenuComponent
export class RoleSelectMenuBuilder extends BuilderRoleSelectMenuComponent
Class used to build select menu components to be sent through the API
constructor(data?)
Constructs a new instance of the RoleSelectMenuBuilder class
NameTypeOptionalDescription
dataPartial<RoleSelectMenuComponentData | APIRoleSelectComponent>YesNone
Static
Creates a new select menu builder from JSON data
NameTypeOptionalDescription
otherJSONEncodable<APIRoleSelectComponent> | APIRoleSelectComponentNoThe other data