From 6ecc4873359c35128bc9be1c49c94b985c6609ff Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Wed, 7 Apr 2021 23:16:49 +0200 Subject: [PATCH] [AB-225] adding mock related templates --- .../en_US/commands/mock/mock_response_embed_en_US.ftl | 7 +++++++ .../en_US/commands/mock/help/mock_description_en_US.ftl | 1 + .../en_US/commands/mock/help/mock_long_help_en_US.ftl | 2 ++ .../commands/mock/help/mock_parameter_message_en_US.ftl | 1 + .../en_US/commands/mock/mock_response_text_en_US.ftl | 1 + 5 files changed, 12 insertions(+) create mode 100644 abstracto-modules/entertainment/src/main/resources/en_US/commands/mock/mock_response_embed_en_US.ftl create mode 100644 translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_description_en_US.ftl create mode 100644 translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_long_help_en_US.ftl create mode 100644 translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_parameter_message_en_US.ftl create mode 100644 translations/entertainment/src/main/resources/en_US/commands/mock/mock_response_text_en_US.ftl diff --git a/abstracto-modules/entertainment/src/main/resources/en_US/commands/mock/mock_response_embed_en_US.ftl b/abstracto-modules/entertainment/src/main/resources/en_US/commands/mock/mock_response_embed_en_US.ftl new file mode 100644 index 00000000..05f71c95 --- /dev/null +++ b/abstracto-modules/entertainment/src/main/resources/en_US/commands/mock/mock_response_embed_en_US.ftl @@ -0,0 +1,7 @@ +{ + <#include "abstracto_color">, + <#assign mockingText=mockingText> + <#assign originalText=originalText> + "description": "<@safe_include "mock_response_text"/>", + "thumbnail": "https://i.imgur.com/upItEiG.jpg" +} \ No newline at end of file diff --git a/translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_description_en_US.ftl b/translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_description_en_US.ftl new file mode 100644 index 00000000..e8387ab6 --- /dev/null +++ b/translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_description_en_US.ftl @@ -0,0 +1 @@ +Mocks a given text or message \ No newline at end of file diff --git a/translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_long_help_en_US.ftl b/translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_long_help_en_US.ftl new file mode 100644 index 00000000..0cd49349 --- /dev/null +++ b/translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_long_help_en_US.ftl @@ -0,0 +1,2 @@ +This command can be used to mock a text or a message. In order to mock a text, you need to provide the text as a parameter to the command. +If you want to mock a specific message, you need to reply to that message when executing this command. In case both are present, the message reply has precedence. \ No newline at end of file diff --git a/translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_parameter_message_en_US.ftl b/translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_parameter_message_en_US.ftl new file mode 100644 index 00000000..e7053c15 --- /dev/null +++ b/translations/entertainment/src/main/resources/en_US/commands/mock/help/mock_parameter_message_en_US.ftl @@ -0,0 +1 @@ +The text to mock or a message which has been replied to \ No newline at end of file diff --git a/translations/entertainment/src/main/resources/en_US/commands/mock/mock_response_text_en_US.ftl b/translations/entertainment/src/main/resources/en_US/commands/mock/mock_response_text_en_US.ftl new file mode 100644 index 00000000..b57bfe51 --- /dev/null +++ b/translations/entertainment/src/main/resources/en_US/commands/mock/mock_response_text_en_US.ftl @@ -0,0 +1 @@ +${mockingText} \ No newline at end of file