fix crash

This commit is contained in:
Mylloon 2022-07-21 17:30:49 +02:00
parent 8f0096a73c
commit 4068e0da7f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -52,7 +52,7 @@ export const getLocale = (client: Client, text: string) => {
if (str === undefined) {
throw 'Missing locales';
}
data[lang] = str;
data[lang] = str.toLowerCase();
});
return data;