Guild constructor
Guild(
- Snowflake _id,
- String _name,
- Snowflake _ownerId,
- ImageFormater? _icon,
- String? _iconHash,
- ImageFormater? _splash,
- ImageFormater? _discoverySplash,
- int? _permissions,
- Snowflake? _afkChannelId,
- int _afkTimeout,
- bool _widgetEnabled,
- Snowflake? _widgetChannelId,
- VerificationLevel _verificationLevel,
- int _defaultMessageNotifications,
- int _explicitContentFilter,
- GuildRoleManager _roles,
- int _mfaLevel,
- Snowflake? _applicationId,
- Snowflake? _systemChannelId,
- int _systemChannelFlags,
- Snowflake? _rulesChannelId,
- int? _maxPresences,
- int _maxMembers,
- String? _vanityUrlCode,
- String? _description,
- ImageFormater? _banner,
- String _preferredLocale,
- Snowflake? _publicUpdatesChannelId,
- int _maxVideoChannelUsers,
- int? _approximateMemberCount,
- int? _approximatePresenceCount,
- WelcomeScreen? _welcomeScreen,
- int _nsfwLevel,
- StickerManager _stickers,
- MemberManager _members,
- ChannelManager _channels,
- EmojiManager _emojis,
- List<
GuildFeature> _features, - ModerationRuleManager _moderationRules,
- GuildWebhookManager _webhooks,
- GuildScheduledEventService _scheduledEvents,
- CommandService _commands,
Implementation
Guild(
this._id,
this._name,
this._ownerId,
this._icon,
this._iconHash,
this._splash,
this._discoverySplash,
this._permissions,
this._afkChannelId,
this._afkTimeout,
this._widgetEnabled,
this._widgetChannelId,
this._verificationLevel,
this._defaultMessageNotifications,
this._explicitContentFilter,
this._roles,
this._mfaLevel,
this._applicationId,
this._systemChannelId,
this._systemChannelFlags,
this._rulesChannelId,
this._maxPresences,
this._maxMembers,
this._vanityUrlCode,
this._description,
this._banner,
this._premiumTier,
this._premiumSubscriptionCount,
this._preferredLocale,
this._publicUpdatesChannelId,
this._maxVideoChannelUsers,
this._approximateMemberCount,
this._approximatePresenceCount,
this._welcomeScreen,
this._nsfwLevel,
this._stickers,
this._premiumProgressBarEnabled,
this._members,
this._channels,
this._emojis,
this._features,
this._moderationRules,
this._webhooks,
this._scheduledEvents,
this._commands,
);