internal static RpcGuild Create(DiscordRpcClient discord, Model model) { var entity = new RpcGuild(discord, model.Id); entity.Update(model); return(entity); }
public async Task <RpcGuild> GetRpcGuildAsync(ulong id, RequestOptions options = null) { var model = await ApiClient.SendGetGuildAsync(id, options).ConfigureAwait(false); return(RpcGuild.Create(this, model)); }