Class: Discordrb::Embed

Inherits:
Object
  • Object
show all
Defined in:
lib/discordrb/data.rb

Overview

An Embed object that is contained in a message A freshly generated embed object will not appear in a message object unless grabbed from its ID in a channel.

Instance Attribute Summary collapse

Instance Attribute Details

#authorEmbedAuthor? (readonly)


1862
1863
1864
# File 'lib/discordrb/data.rb', line 1862

def author
  @author
end

#colorString? (readonly) Also known as: colour


1843
1844
1845
# File 'lib/discordrb/data.rb', line 1843

def color
  @color
end

#descriptionString? (readonly)


1830
1831
1832
# File 'lib/discordrb/data.rb', line 1830

def description
  @description
end

#fieldsArray<EmbedField>? (readonly)


1865
1866
1867
# File 'lib/discordrb/data.rb', line 1865

def fields
  @fields
end

1847
1848
1849
# File 'lib/discordrb/data.rb', line 1847

def footer
  @footer
end

#imageEmbedImage? (readonly)


1853
1854
1855
# File 'lib/discordrb/data.rb', line 1853

def image
  @image
end

#messageMessage (readonly)


1821
1822
1823
# File 'lib/discordrb/data.rb', line 1821

def message
  @message
end

#providerEmbedProvider? (readonly)


1850
1851
1852
# File 'lib/discordrb/data.rb', line 1850

def provider
  @provider
end

#thumbnailEmbedThumbnail? (readonly)


1856
1857
1858
# File 'lib/discordrb/data.rb', line 1856

def thumbnail
  @thumbnail
end

#timestampTime? (readonly)


1840
1841
1842
# File 'lib/discordrb/data.rb', line 1840

def timestamp
  @timestamp
end

#titleString? (readonly)


1827
1828
1829
# File 'lib/discordrb/data.rb', line 1827

def title
  @title
end

#typeSymbol (readonly)


1837
1838
1839
# File 'lib/discordrb/data.rb', line 1837

def type
  @type
end

#urlString (readonly)


1824
1825
1826
# File 'lib/discordrb/data.rb', line 1824

def url
  @url
end

#videoEmbedVideo? (readonly)


1859
1860
1861
# File 'lib/discordrb/data.rb', line 1859

def video
  @video
end