Skip to content

Commit 8d03d82

Browse files
Merge formatting
Merge formatting into main
2 parents 8c2eab4 + c5c978a commit 8d03d82

File tree

5 files changed

+16
-18
lines changed

5 files changed

+16
-18
lines changed

src/buttons/gamesActivities/neverhaveiever.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ const button: Button = {
7272

7373
switch (guildDb.customTypes) {
7474
case "regular":
75-
nererhaveIever = shuffle([
76-
...NeverHaveIever
77-
]);
75+
nererhaveIever = shuffle([...NeverHaveIever]);
7876
break;
7977
case "mixed":
8078
nererhaveIever = shuffle([
@@ -87,9 +85,7 @@ const button: Button = {
8785
break;
8886
}
8987
} else {
90-
nererhaveIever = shuffle([
91-
...NeverHaveIever
92-
]);
88+
nererhaveIever = shuffle([...NeverHaveIever]);
9389
}
9490

9591
const Random = Math.floor(Math.random() * nererhaveIever.length);

src/commands/game/neverhaveiever.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ const command: ChatInputCommand = {
5555

5656
switch (guildDb.customTypes) {
5757
case "regular":
58-
nererhaveIever = shuffle([
59-
...NeverHaveIever
60-
]);
58+
nererhaveIever = shuffle([...NeverHaveIever]);
6159
break;
6260
case "mixed":
6361
nererhaveIever = shuffle([
@@ -70,9 +68,7 @@ const command: ChatInputCommand = {
7068
break;
7169
}
7270
} else {
73-
nererhaveIever = shuffle([
74-
...NeverHaveIever
75-
]);
71+
nererhaveIever = shuffle([...NeverHaveIever]);
7672
}
7773

7874
const Random = Math.floor(Math.random() * nererhaveIever.length);

src/commands/settings/language.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const command: ChatInputCommand = {
3939
{ name: "🇺🇸 English", value: "en_EN" },
4040
{ name: "🇪🇸 Español", value: "es_ES" },
4141
{ name: "🇫🇷 Français", value: "fr_FR" },
42-
{ name: "🇮🇹 Italiano", value: "it_IT" },
42+
{ name: "🇮🇹 Italiano", value: "it_IT" },
4343
),
4444
),
4545

src/commands/utility/help.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const command: ChatInputCommand = {
3737
const commands = await client.application?.commands.fetch({
3838
withLocalizations: true,
3939
});
40-
console.log(commands)
40+
console.log(commands);
4141
const type = languageMappings[guildDb?.language] || "en";
4242
const helpembed = new EmbedBuilder()
4343
.setColor("#0598F6")
@@ -70,12 +70,12 @@ const command: ChatInputCommand = {
7070
fr: n.descriptionLocalizations.fr,
7171
it: n.descriptionLocalizations.it,
7272
};
73-
73+
7474
const description = descriptionMap[type] || n.description;
75-
75+
7676
return `</${n.name}:${n.id}> - ${description}`;
7777
})
78-
78+
7979
.join("\n")}`,
8080
);
8181

src/util/translationHandler.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ export default class TranslationHandler {
1212
* The available languages
1313
* @type {string[]}
1414
*/
15-
this.availableLanguages = languages ?? ["de_DE", "en_EN", "es_ES", "fr_FR", "it_IT"];
15+
this.availableLanguages = languages ?? [
16+
"de_DE",
17+
"en_EN",
18+
"es_ES",
19+
"fr_FR",
20+
"it_IT",
21+
];
1622

1723
/**
1824
* The translations

0 commit comments

Comments
 (0)