Class: Discorb::CommandInteraction

Inherits:
Interaction show all
Includes:
Interaction::ModalResponder, Interaction::SourceResponder
Defined in:
lib/discorb/interaction/command.rb

Overview

Represents a command interaction.

Direct Known Subclasses

MessageMenuCommand, SlashCommand, UserMenuCommand

Defined Under Namespace

Classes: MessageMenuCommand, SlashCommand, UserMenuCommand

Instance Attribute Summary

Attributes inherited from Interaction

#application_id, #guild_locale, #id, #locale, #member, #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, #guild, #inspect, #target

Methods inherited from DiscordModel

#==, #eql?