Class: Discordrb::EmbedFooter

Inherits:
Object
  • Object
show all
Defined in:
lib/discordrb/data/embed.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.



78
79
80
# File 'lib/discordrb/data/embed.rb', line 78

def embed
  @embed
end

#icon_urlString (readonly)

Returns the URL of the footer icon.

Returns:

  • (String)

    the URL of the footer icon.



84
85
86
# File 'lib/discordrb/data/embed.rb', line 84

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.



87
88
89
# File 'lib/discordrb/data/embed.rb', line 87

def proxy_icon_url
  @proxy_icon_url
end

#textString (readonly)

Returns the footer text.

Returns:

  • (String)

    the footer text.



81
82
83
# File 'lib/discordrb/data/embed.rb', line 81

def text
  @text
end