From a711eb99b9ef63334dcc0a85d1637256a3eb6b8f Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Mon, 2 Nov 2020 15:41:44 +0100 Subject: [PATCH] [AB-152] fixing modmail logging attachments, updating command name to reflect name change --- .../logging/modmail_close_logged_message_embed_en_US.ftl | 2 +- .../en_US/exception/feature_disabled_exception_text_en_US.ftl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abstracto-modules/modmail/src/main/resources/en_US/modmail/closing/logging/modmail_close_logged_message_embed_en_US.ftl b/abstracto-modules/modmail/src/main/resources/en_US/modmail/closing/logging/modmail_close_logged_message_embed_en_US.ftl index 00389185..8f750e73 100644 --- a/abstracto-modules/modmail/src/main/resources/en_US/modmail/closing/logging/modmail_close_logged_message_embed_en_US.ftl +++ b/abstracto-modules/modmail/src/main/resources/en_US/modmail/closing/logging/modmail_close_logged_message_embed_en_US.ftl @@ -5,7 +5,7 @@ <#if message.embeds[0].description?has_content> ,"description": "${message.embeds[0].description?js_string}" - <#if message.attachments?size gt 0> + <#if message.embeds[0].image?has_content> ,"imageUrl": "${message.embeds[0].image.proxyUrl}" <#if modMailMessage.anonymous> diff --git a/translations/core/src/main/resources/en_US/exception/feature_disabled_exception_text_en_US.ftl b/translations/core/src/main/resources/en_US/exception/feature_disabled_exception_text_en_US.ftl index 4e32f887..8c3609b8 100644 --- a/translations/core/src/main/resources/en_US/exception/feature_disabled_exception_text_en_US.ftl +++ b/translations/core/src/main/resources/en_US/exception/feature_disabled_exception_text_en_US.ftl @@ -1 +1 @@ -Feature has been disabled. Necessary feature is: ${featureName}, you can enable it by executing `enable ${featureKey}`. \ No newline at end of file +Feature has been disabled. Necessary feature is: ${featureName}, you can enable it by executing `enableFeature ${featureKey}`. \ No newline at end of file