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
stringNew guild's name
regionId
stringNew guild's region ID
iconb64
stringNew 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>