mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-04 14:06:07 +00:00
types
This commit is contained in:
parent
95a1853398
commit
54121448ba
@ -151,7 +151,7 @@ export class CommandHandler extends BaseHandler {
|
|||||||
for (const i of locales) {
|
for (const i of locales) {
|
||||||
const valueName = client.langs.getKey(locale, command.__tGroups[group].name!);
|
const valueName = client.langs.getKey(locale, command.__tGroups[group].name!);
|
||||||
if (valueName) {
|
if (valueName) {
|
||||||
command.groups[group].name!.push([i as LocaleString, valueName]);
|
command.groups[group].name!.push([i, valueName]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -160,7 +160,7 @@ export class CommandHandler extends BaseHandler {
|
|||||||
for (const i of locales) {
|
for (const i of locales) {
|
||||||
const valueKey = client.langs.getKey(locale, command.__tGroups[group].description!);
|
const valueKey = client.langs.getKey(locale, command.__tGroups[group].description!);
|
||||||
if (valueKey) {
|
if (valueKey) {
|
||||||
command.groups[group].description!.push([i as LocaleString, valueKey]);
|
command.groups[group].description!.push([i, valueKey]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user