Class: Discordrb::EmbedFooter

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

Overview

An Embed footer for the embed object

Instance Attribute Summary collapse

Instance Attribute Details

#embedEmbed (readonly)

Returns the embed object this is based on.

Returns:

  • (Embed)

    the embed object this is based on.


1890
1891
1892
# File 'lib/discordrb/data.rb', line 1890

def embed
  @embed
end

#icon_urlString (readonly)

Returns the URL of the footer icon.

Returns:

  • (String)

    the URL of the footer icon.


1896
1897
1898
# File 'lib/discordrb/data.rb', line 1896

def icon_url
  @icon_url
end

#proxy_icon_urlString (readonly)

Returns the proxied URL of the footer icon.

Returns:

  • (String)

    the proxied URL of the footer icon.


1899
1900
1901
# File 'lib/discordrb/data.rb', line 1899

def proxy_icon_url
  @proxy_icon_url
end

#textString (readonly)

Returns the footer text.

Returns:

  • (String)

    the footer text.


1893
1894
1895
# File 'lib/discordrb/data.rb', line 1893

def text
  @text
end