Class: RubyCord::Guild::WelcomeScreen

Inherits:
DiscordModel show all
Defined in:
lib/rubycord/guild/welcome_screen.rb

Defined Under Namespace

Classes: Channel

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #inspect

Instance Attribute Details

#channelsArray<RubyCord::Guild::WelcomeScreen::Channel> (readonly)

Returns The channels to display the welcome screen.

Returns:



12
13
14
# File 'lib/rubycord/guild/welcome_screen.rb', line 12

def channels
  @channels
end

#descriptionString (readonly)

Returns The description of the welcome screen.

Returns:

  • (String)

    The description of the welcome screen.



10
11
12
# File 'lib/rubycord/guild/welcome_screen.rb', line 10

def description
  @description
end

#guildRubyCord::Guild (readonly)

Returns The guild the welcome screen belongs to.

Returns:



14
15
16
# File 'lib/rubycord/guild/welcome_screen.rb', line 14

def guild
  @guild
end