Class: Discorb::WelcomeScreen
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::WelcomeScreen
- Defined in:
- lib/discorb/guild.rb
Overview
Represents a welcome screen.
Defined Under Namespace
Classes: Channel
Instance Attribute Summary collapse
-
#channels -> Array<Discorb::WelcomeScreen::Channel>
readonly
The channels to display the welcome screen.
-
#description -> String
readonly
The description of the welcome screen.
-
#guild -> Discorb::Guild
readonly
The guild the welcome screen belongs to.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#channels -> Array<Discorb::WelcomeScreen::Channel> (readonly)
Returns The channels to display the welcome screen.
1969 1970 1971 |
# File 'lib/discorb/guild.rb', line 1969 def channels @channels end |
#description -> String (readonly)
Returns The description of the welcome screen.
1967 1968 1969 |
# File 'lib/discorb/guild.rb', line 1967 def description @description end |
#guild -> Discorb::Guild (readonly)
Returns The guild the welcome screen belongs to.
1971 1972 1973 |
# File 'lib/discorb/guild.rb', line 1971 def guild @guild end |