Skip to content

Commit

Permalink
Merge formatting
Browse files Browse the repository at this point in the history
Merge formatting into main
  • Loading branch information
github-actions[bot] authored Dec 11, 2023
2 parents 6fea166 + cce199a commit 1990f9c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions src/buttons/voting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const button: Button = {
? "Option 1"
: "Option 2"
: customId[3] == 0 || customId[2] == 0
? '"have done this"'
: '"have not done this"'
? '"have done this"'
: '"have not done this"'
}.`,
ephemeral: true,
});
Expand Down
16 changes: 8 additions & 8 deletions src/buttons/wycustom_add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ const button: Button = {
"wyCustom.success.embedAdd.descWYR",
)
: data?.type === "wwyd"
? client.translation.get(
guildDb?.language,
"wyCustom.success.embedAdd.descWWYD",
)
: client.translation.get(
guildDb?.language,
"wyCustom.success.embedAdd.descNHIE",
),
? client.translation.get(
guildDb?.language,
"wyCustom.success.embedAdd.descWWYD",
)
: client.translation.get(
guildDb?.language,
"wyCustom.success.embedAdd.descNHIE",
),
},
)}\n\n**${client.translation.get(
guildDb?.language,
Expand Down
16 changes: 8 additions & 8 deletions src/commands/settings/custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ const command: ChatInputCommand = {
"wyCustom.success.embedAdd.descWYR",
)
: generativeText?.type === "wwyd"
? client.translation.get(
guildDb?.language,
"wyCustom.success.embedAdd.descWWYD",
)
: client.translation.get(
guildDb?.language,
"wyCustom.success.embedAdd.descNHIE",
),
? client.translation.get(
guildDb?.language,
"wyCustom.success.embedAdd.descWWYD",
)
: client.translation.get(
guildDb?.language,
"wyCustom.success.embedAdd.descNHIE",
),
},
)}\n\n`
: ""
Expand Down
8 changes: 4 additions & 4 deletions src/commands/utility/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ const command: ChatInputCommand = {
type === "de"
? n.descriptionLocalizations.de
: type === "es"
? n.descriptionLocalizations["es-ES"]
: type === "fr"
? n.descriptionLocalizations.fr
: n.description
? n.descriptionLocalizations["es-ES"]
: type === "fr"
? n.descriptionLocalizations.fr
: n.description
}`,
)
.join("\n")}`,
Expand Down
8 changes: 4 additions & 4 deletions src/util/Functions/fileToCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export async function fileToCollection<
(resp.default as Command).data != undefined
? (resp.default as Command).data.name
: Boolean((resp.default as Event).event)
? (resp.default as Event).event
: (resp.default as Interaction).name,
? (resp.default as Event).event
: (resp.default as Interaction).name,
resp.default,
);
},
Expand All @@ -43,8 +43,8 @@ export async function fileToCollection<
(resp.default as Command).data != undefined
? (resp.default as Command).data.name
: Boolean((resp.default as Event).event)
? (resp.default as Event).event
: (resp.default as Interaction).name,
? (resp.default as Event).event
: (resp.default as Interaction).name,
resp.default,
);
},
Expand Down

0 comments on commit 1990f9c

Please sign in to comment.