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})
-
Methods
-
enablePremiumProgressBar(bool value, {String? reason})
→ Future<void>
-
Set the server's enabled premium features.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setAfkChannel(String? channelId, {String? reason})
→ Future<void>
-
Set the server's afk channel.
-
setAfkTimeout(int value, {String? reason})
→ Future<void>
-
Set the server's afk timeout.
-
setDefaultMessageNotifications(DefaultMessageNotification value, {String? reason})
→ Future<void>
-
Set the default message notifications for the server.
-
setDescription(String description, {String? reason})
→ Future<void>
-
Set the server's description.
-
setExplicitContentFilter(ExplicitContentFilter value, {String? reason})
→ Future<void>
-
Set the explicit content filter for the server.
-
setName(String name, {String? reason})
→ Future<void>
-
Set the server's name.
-
setPreferredLocale(String value, {String? reason})
→ Future<void>
-
Set the server's preferred locale.
-
setPublicUpdatesChannel(String? channelId, {String? reason})
→ Future<void>
-
Set the server's public updates channel.
-
setRulesChannel(String? channelId, {String? reason})
→ Future<void>
-
Set the server's rules channel.
-
setSafetyAlertsChannel(String? channelId, {String? reason})
→ Future<void>
-
Set the server's safety alerts channel.
-
setSystemChannel(String? channelId, {String? reason})
→ Future<void>
-
Set the server's system channel.
-
setVanityUrlCode(String value, {String? reason})
→ Future<void>
-
Set the server's vanity url code.
-
toString()
→ String
-
A string representation of this object.
inherited