class Discordrb::EmbedFooter

An Embed footer for the embed object.

Attributes

embed[R]

@return [Embed] the embed object this is based on.

icon_url[R]

@return [String] the URL of the footer icon.

proxy_icon_url[R]

@return [String] the proxied URL of the footer icon.

text[R]

@return [String] the footer text.

Public Class Methods

new(data, embed) click to toggle source

@!visibility private

# File lib/discordrb/data.rb, line 2184
def initialize(data, embed)
  @embed = embed

  @text = data['text']
  @icon_url = data['icon_url']
  @proxy_icon_url = data['proxy_icon_url']
end