Пример #1
0
 public RuntimeEmbedField(IEmbedField f)
 {
     field = new EmbedFieldBuilder();
     field.Name = f.Name;
     field.Value = f.Value;
     field.IsInline = f.IsInline;
 }
Пример #2
0
        public IDiscordEmbed AddField(IEmbedField field)
        {
            embed.AddField(x =>
            {
                x.Name     = field.Name;
                x.Value    = field.Value;
                x.IsInline = field.IsInline;
            });

            return(this);
        }
Пример #3
0
 public IDiscordEmbed AddField(IEmbedField field)
 {
     throw new NotImplementedException();
 }
Пример #4
0
 public void AddField(IEmbedField field)
 {
     fields.Add(field);
 }
Пример #5
0
 public void InsertField(int index, IEmbedField field)
 {
     fields.Insert(index, field);
 }