Discore
Show / Hide Table of Contents

Method AddRole

| Improve this Doc View Source

AddRole(CreateGuildRoleOptions)

Adds a role to be created with the guild.

Note: The first role added will end up as the @everyone role.

Declaration
public CreateGuildOptions AddRole(CreateGuildRoleOptions role)
Parameters
Type Name Description
CreateGuildRoleOptions role

Note: If this is the first role, it will end up as the @everyone role.

Returns
Type Description
CreateGuildOptions
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX