def self.
new(id :
Snowflake, username : String, discriminator : String, global_name : String | Nil, avatar : String | Nil, bot : Bool | Nil, system : Bool | Nil, mfa_enabled : Bool | Nil, banner : String | Nil, accent_color : UInt32 | Nil, verified : Bool | Nil, email : String | Nil, flags :
UserFlags | Nil, premium_type :
PremiumType, public_flags :
UserFlags | Nil, avatar_decoration : String | Nil, locale :
Locale | Nil =
Locale.default_locale)
#
def
copy_with(id _id = @id, username _username = @username, discriminator _discriminator = @discriminator, global_name _global_name = @global_name, avatar _avatar = @avatar, bot _bot = @bot, system _system = @system, mfa_enabled _mfa_enabled = @mfa_enabled, banner _banner = @banner, accent_color _accent_color = @accent_color, verified _verified = @verified, email _email = @email, flags _flags = @flags, premium_type _premium_type = @premium_type, public_flags _public_flags = @public_flags, avatar_decoration _avatar_decoration = @avatar_decoration, locale _locale = @locale)
#