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.


2150
2151
2152
# File 'lib/discordrb/data.rb', line 2150

def embed
  @embed
end

#icon_urlString (readonly)

Returns the URL of the footer icon.

Returns:

  • (String)

    the URL of the footer icon.


2156
2157
2158
# File 'lib/discordrb/data.rb', line 2156

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.


2159
2160
2161
# File 'lib/discordrb/data.rb', line 2159

def proxy_icon_url
  @proxy_icon_url
end

#textString (readonly)

Returns the footer text.

Returns:

  • (String)

    the footer text.


2153
2154
2155
# File 'lib/discordrb/data.rb', line 2153

def text
  @text
end