From 0b4496f0d8364729ad55406d6c87e0d45a2156ac Mon Sep 17 00:00:00 2001 From: merefield Date: Thu, 20 Jun 2024 16:52:46 +0100 Subject: [PATCH] IMPROVE: change failed response to something more meaningful --- lib/discourse_chatbot/reply_creator.rb | 2 +- plugin.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/discourse_chatbot/reply_creator.rb b/lib/discourse_chatbot/reply_creator.rb index f23130b..59e6f5d 100644 --- a/lib/discourse_chatbot/reply_creator.rb +++ b/lib/discourse_chatbot/reply_creator.rb @@ -17,7 +17,7 @@ def initialize(options = {}) @trust_level = options[:trust_level] @chatbot_bot_type = options[:chatbot_bot_type] if @message_body.blank? - @message_body = '...' + @message_body = I18n.t('chatbot.errors.retries') end end diff --git a/plugin.rb b/plugin.rb index f95ae57..3855e7d 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-chatbot # about: a plugin that allows you to have a conversation with a configurable chatbot in Discourse Chat, Topics and Private Messages -# version: 0.9.36 +# version: 0.9.37 # authors: merefield # url: https://github.com/merefield/discourse-chatbot