Class: Discordrb::Events::InteractionCreateEvent::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

#attachments ⇒ Object

Returns the value of attribute attachments

Returns:

  • (Object) —

    the current value of attachments



10
11
12
# File 'lib/discordrb/events/interactions.rb', line 10

def attachments
  @attachments
end

#channels ⇒ Object

Returns the value of attribute channels

Returns:

  • (Object) —

    the current value of channels



10
11
12
# File 'lib/discordrb/events/interactions.rb', line 10

def channels
  @channels
end

#members ⇒ Object

Returns the value of attribute members

Returns:

  • (Object) —

    the current value of members



10
11
12
# File 'lib/discordrb/events/interactions.rb', line 10

def members
  @members
end

#messages ⇒ Object

Returns the value of attribute messages

Returns:

  • (Object) —

    the current value of messages



10
11
12
# File 'lib/discordrb/events/interactions.rb', line 10

def messages
  @messages
end

#roles ⇒ Object

Returns the value of attribute roles

Returns:

  • (Object) —

    the current value of roles



10
11
12
# File 'lib/discordrb/events/interactions.rb', line 10

def roles
  @roles
end

#users ⇒ Object

Returns the value of attribute users

Returns:

  • (Object) —

    the current value of users



10
11
12
# File 'lib/discordrb/events/interactions.rb', line 10

def users
  @users
end