GuildBuilder class

Allows to build guild object for creating new one or modifying existing

Inheritance

Constructors

GuildBuilder(String name)
Create new instance of GuildBuilder

Properties

afkChannelId Snowflake?
The channel id to use for the afk channel The id provided sould be the same of a given id in channels.
getter/setter pair
afkTimeout int?
The afk timeout in seconds
getter/setter pair
channels List<ChannelBuilder>?
List of channel to create at guild creation When using this field, the position field of the channel is ignored. And none of the default channels are created.
getter/setter pair
defaultMessageNotifications int?
Default message notification level
getter/setter pair
explicitContentFilter int?
Explicit content filter level
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon AttachmentBuilder?
The 128x128 icon for the guild
getter/setter pair
name String
Name of Guild
final
region String?
Voice region id
getter/setter pair
roles List<RoleBuilder>?
List of roles to create at guild creation. When using this parameter, the first member of the list is the @everyone role - So all the permissions that you give to this role will be applied to all the members of the guild.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemChannelFlags SystemChannelFlags?
The SystemChannelFlags to apply
getter/setter pair
systemChannelId Snowflake?
The id of the system channel The id provided sould be the same of a given id in channels.
getter/setter pair
verificationLevel int?
Verification level
getter/setter pair

Methods

build() RawApiMap
Returns built response for api
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited