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.
1527 1528 1529 |
# File 'lib/discordrb/data.rb', line 1527 def @embed end |
#name ⇒ String (readonly)
Returns the author's name.
1530 1531 1532 |
# File 'lib/discordrb/data.rb', line 1530 def name @name end |
#url ⇒ String? (readonly)
Returns the URL of the author's website. nil
is there is no URL.
1533 1534 1535 |
# File 'lib/discordrb/data.rb', line 1533 def url @url end |