We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 094104a commit 857bdb7Copy full SHA for 857bdb7
src/events/Interaction/InteractionCreate.ts
@@ -19,17 +19,17 @@ export default new Event(
19
20
if (!command) return;
21
22
- let l: TFunction | undefined;
+ let lang: TFunction | undefined;
23
24
switch (null) {
25
case "pt-BR":
26
- l = i18next.getFixedT("pt-BR");
+ lang = i18next.getFixedT("pt-BR");
27
break;
28
case "en-US":
29
- l = i18next.getFixedT("en-US");
+ lang = i18next.getFixedT("en-US");
30
31
default:
32
33
}
34
35
if (
@@ -46,7 +46,7 @@ export default new Event(
46
context,
47
client,
48
interaction,
49
- l,
+ lang,
50
});
51
52
},
0 commit comments