Server class final

Constructors

Server({required Snowflake id, required String name, required MemberManager members, required ServerSettings settings, required RoleManager roles, required ChannelManager channels, required String? description, required String? applicationId, required ServerAsset assets, required Member owner, required ThreadsManager threads})

Properties

applicationId String?
final
assets ServerAsset
final
channels ChannelManager
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
final
members MemberManager
final
name String
final
owner Member
final
roles RoleManager
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings ServerSettings
final
threads → ThreadsManager
final

Methods

enablePremiumProgressBar(bool value, {String? reason}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAfkChannel(String? channelId, {String? reason}) Future<void>
setAfkTimeout(int value, {String? reason}) Future<void>
setDefaultMessageNotifications(DefaultMessageNotification value, {String? reason}) Future<void>
setDescription(String description, {String? reason}) Future<void>
setExplicitContentFilter(ExplicitContentFilter value, {String? reason}) Future<void>
setName(String name, {String? reason}) Future<void>
setPublicUpdatesChannel(String? channelId, {String? reason}) Future<void>
setRulesChannel(String? channelId, {String? reason}) Future<void>
setSafetyAlertsChannel(String? channelId, {String? reason}) Future<void>
setSystemChannel(String? channelId, {String? reason}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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