Class: Discordrb::EmbedAuthor
- Inherits:
-
Object
- Object
- Discordrb::EmbedAuthor
- Defined in:
- lib/discordrb/data.rb
Overview
An Embed author for the embed object
Instance Attribute Summary collapse
-
#embed ⇒ Embed
readonly
The embed object this is based on.
-
#name ⇒ String
readonly
The author's name.
-
#url ⇒ String?
readonly
The URL of the author's website.
Instance Attribute Details
#embed ⇒ Embed (readonly)
Returns the embed object this is based on.
1626 1627 1628 |
# File 'lib/discordrb/data.rb', line 1626 def @embed end |
#name ⇒ String (readonly)
Returns the author's name.
1629 1630 1631 |
# File 'lib/discordrb/data.rb', line 1629 def name @name end |
#url ⇒ String? (readonly)
Returns the URL of the author's website. nil is there is no URL.
1632 1633 1634 |
# File 'lib/discordrb/data.rb', line 1632 def url @url end |