Class: Discordrb::Events::ApplicationCommandEvent::Resolved

Inherits:
Struct
  • Object
show all
Defined in:
lib/discordrb/events/interactions.rb

Overview

Struct to allow accessing data via [] or methods.

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentsObject

Returns the value of attribute attachments

Returns:

  • (Object)

    the current value of attachments



135
136
137
# File 'lib/discordrb/events/interactions.rb', line 135

def attachments
  @attachments
end

#channelsObject

Returns the value of attribute channels

Returns:

  • (Object)

    the current value of channels



135
136
137
# File 'lib/discordrb/events/interactions.rb', line 135

def channels
  @channels
end

#membersObject

Returns the value of attribute members

Returns:

  • (Object)

    the current value of members



135
136
137
# File 'lib/discordrb/events/interactions.rb', line 135

def members
  @members
end

#messagesObject

Returns the value of attribute messages

Returns:

  • (Object)

    the current value of messages



135
136
137
# File 'lib/discordrb/events/interactions.rb', line 135

def messages
  @messages
end

#rolesObject

Returns the value of attribute roles

Returns:

  • (Object)

    the current value of roles



135
136
137
# File 'lib/discordrb/events/interactions.rb', line 135

def roles
  @roles
end

#usersObject

Returns the value of attribute users

Returns:

  • (Object)

    the current value of users



135
136
137
# File 'lib/discordrb/events/interactions.rb', line 135

def users
  @users
end