mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 14:06:41 +01:00
Fix incorrect Discord embed error messages
This commit is contained in:
@@ -975,7 +975,7 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
|
||||
embedErrors.Add(
|
||||
String.Format(
|
||||
CultureInfo.InvariantCulture,
|
||||
"Null or whitespace field author at index {0}!",
|
||||
"Null or whitespace field name at index {0}!",
|
||||
i));
|
||||
invalid = true;
|
||||
}
|
||||
@@ -985,7 +985,7 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
|
||||
embedErrors.Add(
|
||||
String.Format(
|
||||
CultureInfo.InvariantCulture,
|
||||
"Null or whitespace field author at index {0}!",
|
||||
"Null or whitespace field value at index {0}!",
|
||||
i));
|
||||
invalid = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user