Class CreateGuildOptions
A set of options to use when creating a new guild.
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class CreateGuildOptions
Properties
| Name | Description |
|---|---|
| Channels | Gets or sets the initial text and voice channels in the guild (or null to use defaults). |
| DefaultMessageNotifications | Gets or sets the default notification level for new members joining the guild (or null to use default). |
| Icon | Gets or sets the icon of the guild (or null to use default). |
| Name | Gets or sets the name of the guild. Note: cannot be null. |
| Roles | Gets or sets the initial roles in the guild (or null to not include any additional roles). Note: The first role in this list will end up as the @everyone role. |
| VerificationLevel | Gets or sets the verification level of the guild (or null to use default). |
| VoiceRegion | Gets or sets the ID of the voice region the guild should use (or null to use default). |
Methods
| Name | Description |
|---|---|
| AddChannel(CreateGuildChannelOptions) | Adds a text or voice channel to be created with the guild. |
| AddRole(CreateGuildRoleOptions) | Adds a role to be created with the guild. Note: The first role added will end up as the @everyone role. |
| SetDefaultMessageNotificationsLevel(GuildNotificationOption) | Sets the default notification level for new members joining the guild. |
| SetIcon(DiscordImageData) | Sets the icon of the guild. |
| SetName(string) | Sets the name of the guild. |
| SetVerificationLevel(GuildVerificationLevel) | Sets the verification level of the guild. |
| SetVoiceRegion(string) | Sets the ID of the voice region the guild should use. |