GuildMember class Null safety
- Mixed in types
Constructors
- GuildMember(User _user, String? _nickname, ImageFormater? _avatar, DateTime _joinedAt, String? _permissions, bool _pending, DateTime? _timeoutDuration, MemberRoleManager _roles, VoiceManager voice, Guild _guild)
- GuildMember.from({required dynamic user, required GuildRoleManager roles, required Guild guild, dynamic member, required VoiceManager voice})
-
factory
Properties
- avatar → ImageFormater?
-
read-only
- container → Ioc
-
Service manager including the core components of the Mineral framework
read-only, inherited
- guild → Guild
-
read-only
- hasGuildAvatar → bool
-
read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited
- id → Snowflake
-
read-only
- isBot → bool
-
Returns whether of this is a bot
read-only
- joinedAt → DateTime
-
read-only
- lang → Locale
-
read-only
- nickname → String
-
read-only
- pending → bool
-
read-only
- permissions → String?
-
read-only
-
read-only
- roles → MemberRoleManager
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- timeoutDuration → DateTime?
-
read-only
- user → User
-
read-only
- voice ↔ VoiceManager
-
read / write
Methods
-
ban(
{int? count, String? reason}) → Future< void> - banned this from the Guild and deleted its messages for a given period
-
clone(
) → GuildMember -
isPending(
) → bool - Returns whether of this is pending
-
kick(
{int? count, String? reason}) → Future< void> - Kick this of Guild
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
removeTimeout(
) → Future< void> - Cancels the exclusion of this
-
setUsername(
String name) → Future< void> - Update the username of this
-
timeout(
DateTime expiration) → Future< void> - Excludes this for a pre-defined period
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited