Fixed GetText extension not adding string format params

This commit is contained in:
Kwoth
2021-08-07 16:03:11 +02:00
parent 43f4465a29
commit 3861b407dc

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);
}