summaryrefslogtreecommitdiff
path: root/controllers/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/interfaces')
-rw-r--r--controllers/interfaces/tools.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/controllers/interfaces/tools.rb b/controllers/interfaces/tools.rb
index aa4fb61..f079a2b 100644
--- a/controllers/interfaces/tools.rb
+++ b/controllers/interfaces/tools.rb
@@ -65,9 +65,9 @@ module NanoBot
if %i[fennel lua clojure].any? { |key| !adapter[key].nil? }
message = adapt(feedback, adapter, cartridge)
else
- message = "(#{feedback[:name]} #{feedback[:parameters].to_json})"
+ message = "#{feedback[:name]} #{feedback[:parameters].to_json}"
- message += " =>\n#{feedback[:output]}" if feedback[:action].to_sym == :responding
+ message += "\n#{feedback[:output]}" if feedback[:action].to_sym == :responding
end
message = "#{adapter[:prefix]}#{message}#{adapter[:suffix]}"