Class: DComm::CLI::Delete
- Defined in:
- lib/dcomm/cli/delete.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from DComm::CLI::Command
Instance Method Details
#call(app_id:, command_id:) ⇒ Object
13 14 15 16 |
# File 'lib/dcomm/cli/delete.rb', line 13 def call(app_id:, command_id:) response = discord.delete_global_app_cmd(app_id:, command_id:) renderer.call(response) end |