Class: RubyCord::Sticker::Pack

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

Overview

Represents a sticker pack.

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #inspect

Instance Attribute Details

Returns The banner of the pack.

Returns:



146
147
148
# File 'lib/rubycord/sticker.rb', line 146

def banner
  @banner
end

#cover_sticker_idRubyCord::Snowflake (readonly)

Returns The cover sticker of the pack.

Returns:



140
141
142
# File 'lib/rubycord/sticker.rb', line 140

def cover_sticker_id
  @cover_sticker_id
end

#descriptionString (readonly)

Returns The description of the pack.

Returns:

  • (String)

    The description of the pack.



142
143
144
# File 'lib/rubycord/sticker.rb', line 142

def description
  @description
end

#idRubyCord::Snowflake (readonly)

Returns The ID of the sticker pack.

Returns:



136
137
138
# File 'lib/rubycord/sticker.rb', line 136

def id
  @id
end

#nameString (readonly)

Returns The name of the sticker pack.

Returns:

  • (String)

    The name of the sticker pack.



138
139
140
# File 'lib/rubycord/sticker.rb', line 138

def name
  @name
end

#stickersArray<RubyCord::Sticker> (readonly)

Returns The stickers in the pack.

Returns:



144
145
146
# File 'lib/rubycord/sticker.rb', line 144

def stickers
  @stickers
end