Class: RubyCord::Guild::WelcomeScreen
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- RubyCord::Guild::WelcomeScreen
- Defined in:
- lib/rubycord/guild/welcome_screen.rb
Defined Under Namespace
Classes: Channel
Instance Attribute Summary collapse
-
#channels ⇒ Array<RubyCord::Guild::WelcomeScreen::Channel>
readonly
The channels to display the welcome screen.
-
#description ⇒ String
readonly
The description of the welcome screen.
-
#guild ⇒ RubyCord::Guild
readonly
The guild the welcome screen belongs to.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#channels ⇒ Array<RubyCord::Guild::WelcomeScreen::Channel> (readonly)
Returns The channels to display the welcome screen.
12 13 14 |
# File 'lib/rubycord/guild/welcome_screen.rb', line 12 def channels @channels end |
#description ⇒ String (readonly)
Returns The description of the welcome screen.
10 11 12 |
# File 'lib/rubycord/guild/welcome_screen.rb', line 10 def description @description end |
#guild ⇒ RubyCord::Guild (readonly)
Returns The guild the welcome screen belongs to.
14 15 16 |
# File 'lib/rubycord/guild/welcome_screen.rb', line 14 def guild @guild end |