Fixed GetText extension not adding string format params

This commit is contained in:
Kwoth
2021-09-06 21:34:54 +02:00
parent 43f4465a29
commit 3861b407dc
+2 -1
View File
@@ -378,7 +378,8 @@ namespace NadekoBot.Extensions
}
public static string GetText(this IBotStrings strings, in LocStr str, ulong? guildId = null)
=> strings.GetText(str.Key, guildId);
=> strings.GetText(str.Key, guildId, str.Params);
public static string GetText(this IBotStrings strings, in LocStr str, CultureInfo culture)
=> strings.GetText(str.Key, culture, str.Params);
}