Class: DComm::CLI::Guild::List
- Defined in:
- lib/dcomm/cli/guild/list.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:, guild_id:) ⇒ Object
14 15 16 17 |
# File 'lib/dcomm/cli/guild/list.rb', line 14 def call(app_id:, guild_id:) response = discord.list_guild_app_cmds(app_id:, guild_id:) renderer.call(response) end |