Class: Discordrb::InviteServer
- Inherits:
-
Object
- Object
- Discordrb::InviteServer
- Includes:
- IDObject
- Defined in:
- lib/discordrb/data.rb
Overview
A server referenced to by an invite
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
This server's name.
-
#splash_hash ⇒ String?
readonly
The hash of the server's invite splash screen (for partnered servers) or nil if none is present.
Attributes included from IDObject
Method Summary
Methods included from IDObject
Instance Attribute Details
#name ⇒ String (readonly)
Returns this server's name.
918 919 920 |
# File 'lib/discordrb/data.rb', line 918 def name @name end |
#splash_hash ⇒ String? (readonly)
Returns the hash of the server's invite splash screen (for partnered servers) or nil if none is present.
922 923 924 |
# File 'lib/discordrb/data.rb', line 922 def splash_hash @splash_hash end |