TeamOctolings / Octobot

A general-purpose Discord bot for moderation written in C#

Home Page:https://teamoctolings.github.io/Octobot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mctaylors-ru language doesn't work

mctaylors opened this issue · comments

Description

The bot cannot output messages in mctaylors-ru language when used, and instead uses en language.

Expected vs. Actual Behavior

Bot should use mctaylors-ru language, but instead, he uses en language.

Reproduction Steps

  1. enter /editsettings setting:Language value:mctaylors-ru
  2. enter any command that will output something
  3. see default en language being used

Other Information

Version: master-2342116

The problem was found in a build using dotnet publish. Build using dotnet run works without problems.

The problem was using the flag -p:IncludeNativeLibrariesForSelfExtract=true instead of -p:IncludeAllContentForSelfExtract=true while building Octobot.