Class: Discorb::CommandInteraction::MessageMenuCommand

Inherits:
Discorb::CommandInteraction show all
Defined in:
lib/discorb/interaction.rb

Overview

Represents a message context menu interaction.

Instance Attribute Summary collapse

Attributes inherited from Interaction

#application_id, #id, #member, #token, #type, #user, #version

Method Summary

Methods included from Interaction::SourceResponse

#defer_source, #post

Methods inherited from Interaction

#channel, #guild, #inspect

Methods inherited from DiscordModel

#==, #eql?, #hash

Instance Attribute Details

#target -> Discorb::Message (readonly)

Returns The target message.

Returns:



335
336
337
# File 'lib/discorb/interaction.rb', line 335

def target
  @target
end