Class: Discorb::WelcomeScreen

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

Overview

Represents a welcome screen.

Defined Under Namespace

Classes: Channel

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #inspect

Instance Attribute Details

#channelsArray<Discorb::WelcomeScreen::Channel> (readonly)

Returns The channels to display the welcome screen.

Returns:



1969
1970
1971
# File 'lib/discorb/guild.rb', line 1969

def channels
  @channels
end

#descriptionString (readonly)

Returns The description of the welcome screen.

Returns:

  • (String)

    The description of the welcome screen.



1967
1968
1969
# File 'lib/discorb/guild.rb', line 1967

def description
  @description
end

#guildDiscorb::Guild (readonly)

Returns The guild the welcome screen belongs to.

Returns:



1971
1972
1973
# File 'lib/discorb/guild.rb', line 1971

def guild
  @guild
end