Table of Contents

Method CreateGuildAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

CreateGuildAsync(string, string, string, DiscordVerificationLevel?, DiscordDefaultMessageNotifications?, DiscordSystemChannelFlags?)

Creates a new guild

public Task<DiscordGuild> CreateGuildAsync(string name, string regionId, string iconb64, DiscordVerificationLevel? verificationLevel, DiscordDefaultMessageNotifications? defaultMessageNotifications, DiscordSystemChannelFlags? systemChannelFlags)

Parameters

name string

New guild's name

regionId string

New guild's region ID

iconb64 string

New guild's icon (base64)

verificationLevel DiscordVerificationLevel?

New guild's verification level

defaultMessageNotifications DiscordDefaultMessageNotifications?

New guild's default message notification level

systemChannelFlags DiscordSystemChannelFlags?

New guild's system channel flags

Returns

Task<DiscordGuild>