Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }