Class: Parabot::Commands::CustomCommands

Inherits:
Base
  • Object
show all
Defined in:
lib/parabot/commands/custom_commands.rb

Instance Method Summary collapse

Instance Method Details

#callObject



8
9
10
11
12
13
14
15
16
# File 'lib/parabot/commands/custom_commands.rb', line 8

def call(**)
  return if handle_dry_run("Would list custom commands")

  display_custom_commands
rescue ConfigurationError => e
  handle_configuration_error(e)
rescue StandardError => e
  handle_unexpected_error(e)
end