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

#embed ⇒ Embed (readonly)

Returns the embed object this is based on.

Returns:

  • (Embed) —

    the embed object this is based on.



89
90
91
# File 'lib/discordrb/data/embed.rb', line 89

def embed
  @embed
end

#icon_url ⇒ String (readonly)

Returns the URL of the footer icon.

Returns:

  • (String) —

    the URL of the footer icon.



95
96
97
# File 'lib/discordrb/data/embed.rb', line 95

def icon_url
  @icon_url
end

#proxy_icon_url ⇒ String (readonly)

Returns the proxied URL of the footer icon.

Returns:

  • (String) —

    the proxied URL of the footer icon.



98
99
100
# File 'lib/discordrb/data/embed.rb', line 98

def proxy_icon_url
  @proxy_icon_url
end

#text ⇒ String (readonly)

Returns the footer text.

Returns:

  • (String) —

    the footer text.



92
93
94
# File 'lib/discordrb/data/embed.rb', line 92

def text
  @text
end