public async Task Update(ConcurrentDictionary <Perspective, Embed> results) { await AttackerMessage.ModifyAsync(e => e.Embed = results[Perspective.ATTACKER]).ConfigureAwait(false); await DefenderMessage.ModifyAsync(e => e.Embed = results[Perspective.DEFENDER]).ConfigureAwait(false); await ChannelMessage.ModifyAsync(e => e.Embed = results[Perspective.CHANNEL]).ConfigureAwait(false); }
public async Task Update(Embed atkmodel, Embed defmodel, Embed chmodel) { await AttackerMessage.ModifyAsync(e => e.Embed = atkmodel).ConfigureAwait(false); await DefenderMessage.ModifyAsync(e => e.Embed = defmodel).ConfigureAwait(false); await ChannelMessage.ModifyAsync(e => e.Embed = chmodel).ConfigureAwait(false); }