Class: DComm::CLI::Guild::Show

Inherits:
Command
  • Object
show all
Defined in:
lib/dcomm/cli/guild/show.rb

Instance Attribute Summary

Attributes inherited from Command

#discord, #renderer

Instance Method Summary collapse

Methods inherited from Command

#initialize

Constructor Details

This class inherits a constructor from DComm::CLI::Command

Instance Method Details

#call(app_id:, guild_id:, command_id:) ⇒ Object



15
16
17
18
# File 'lib/dcomm/cli/guild/show.rb', line 15

def call(app_id:, guild_id:, command_id:)
  response = discord.show_guild_app_cmd(app_id:, guild_id:, command_id:)
  renderer.call(response)
end