1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-13 17:26:08 +03:00

Add "contact developers" footer

Signed-off-by: mctaylors <mctaylxrs@outlook.com>
This commit is contained in:
Macintxsh 2023-10-26 17:48:05 +03:00
parent 2072c347cd
commit 07d8971f06
Signed by: mctaylors
GPG key ID: 194ED59274F61F79
5 changed files with 18 additions and 0 deletions

View file

@ -573,4 +573,7 @@
<data name="CommandExecutionFailed" xml:space="preserve">
<value>An error occurred during command execution, try again later.</value>
</data>
<data name="ContactDevelopers" xml:space="preserve">
<value>Contact the developers if the problem occurs again.</value>
</data>
</root>

View file

@ -573,4 +573,7 @@
<data name="CommandExecutionFailed" xml:space="preserve">
<value>Произошла ошибка при выполнении команды, повтори попытку позже.</value>
</data>
<data name="ContactDevelopers" xml:space="preserve">
<value>Обратитесь к разработчикам, если проблема возникнет снова.</value>
</data>
</root>

View file

@ -573,4 +573,7 @@
<data name="CommandExecutionFailed" xml:space="preserve">
<value>произошёл тотальный разнос в команде, удачи.</value>
</data>
<data name="ContactDevelopers" xml:space="preserve">
<value>если ты это читаешь второй раз за сегодня, пиши разрабам</value>
</data>
</root>

View file

@ -61,6 +61,7 @@ public class ErrorLoggingPostExecutionEvent : IPostExecutionEvent
var embed = new EmbedBuilder().WithSmallTitle(Messages.CommandExecutionFailed, bot)
.WithDescription(Markdown.InlineCode(result.Error.Message))
.WithFooter(Messages.ContactDevelopers)
.WithColour(ColorsList.Red)
.Build();

View file

@ -1004,5 +1004,13 @@ namespace Octobot {
return ResourceManager.GetString("CommandExecutionFailed", resourceCulture);
}
}
internal static string ContactDevelopers
{
get
{
return ResourceManager.GetString("ContactDevelopers", resourceCulture);
}
}
}
}