Module: Discordrb::ServerAttributes
- Included in:
- Light::UltraLightServer, Server
- Defined in:
- lib/discordrb/data.rb
Overview
Basic attributes a server should have
Instance Attribute Summary collapse
-
#icon_id ⇒ String
readonly
The hexadecimal ID used to identify this server's icon.
-
#name ⇒ String
readonly
This server's name.
Instance Method Summary collapse
-
#icon_url ⇒ String
Utility function to get the URL for the icon image.
Instance Attribute Details
#icon_id ⇒ String (readonly)
Returns the hexadecimal ID used to identify this server's icon.
2108 2109 2110 |
# File 'lib/discordrb/data.rb', line 2108 def icon_id @icon_id end |
#name ⇒ String (readonly)
Returns this server's name.
2105 2106 2107 |
# File 'lib/discordrb/data.rb', line 2105 def name @name end |