Class: Discorb::CommandInteraction::MessageMenuCommand

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

Overview

Represents a message context menu interaction.

Instance Attribute Summary collapse

Attributes inherited from Interaction

#app_permissions, #application_id, #guild_locale, #id, #locale, #token, #type, #user, #version

Method Summary

Methods included from Interaction::ModalResponder

#show_modal

Methods included from Interaction::SourceResponder

#defer_source, #post

Methods inherited from Interaction

#channel, #delete_original_message, #edit_original_message, #guild, #inspect, #post

Methods inherited from DiscordModel

#==, #eql?, #inspect

Instance Attribute Details

#targetDiscorb::Message (readonly)

Returns The target message.

Returns:



188
189
190
# File 'lib/discorb/interaction/command.rb', line 188

def target
  @target
end