Updated Application model
This commit is contained in:
@@ -34,9 +34,12 @@ namespace Discord.Rest
|
||||
Description = model.Description;
|
||||
RPCOrigins = model.RPCOrigins;
|
||||
Name = model.Name;
|
||||
Flags = model.Flags;
|
||||
Owner = RestUser.Create(Discord, model.Owner);
|
||||
_iconId = model.Icon;
|
||||
|
||||
if (model.Flags.IsSpecified)
|
||||
Flags = model.Flags.Value; //TODO: Do we still need this?
|
||||
if (model.Owner.IsSpecified)
|
||||
Owner = RestUser.Create(Discord, model.Owner.Value);
|
||||
}
|
||||
|
||||
public async Task UpdateAsync()
|
||||
|
||||
Reference in New Issue
Block a user