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.



2172
2173
2174
# File 'lib/discordrb/data.rb', line 2172

def embed
  @embed
end

#icon_urlString (readonly)

Returns the URL of the footer icon.

Returns:

  • (String)

    the URL of the footer icon.



2178
2179
2180
# File 'lib/discordrb/data.rb', line 2178

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.



2181
2182
2183
# File 'lib/discordrb/data.rb', line 2181

def proxy_icon_url
  @proxy_icon_url
end

#textString (readonly)

Returns the footer text.

Returns:

  • (String)

    the footer text.



2175
2176
2177
# File 'lib/discordrb/data.rb', line 2175

def text
  @text
end