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 cd6e0b9 commit cdf032bCopy full SHA for cdf032b
app/services/discord/modules/webhook-handler.ts
@@ -622,7 +622,7 @@ export default async (bot: DiscordBot): Promise<void> => {
622
623
container.addTextDisplayComponents({
624
type: Discord.ComponentType.TextDisplay,
625
- content: `### [${payload.sender.login}](${payload.sender.html_url}) wants to add/change ${payload.pull_request.changed_files} sounds:\n${Array.from(
+ content: `### [${payload.sender.login}](${payload.sender.html_url}) wants to add/change ${payload.pull_request.changed_files} sound${changedFiles.size > 1 ? "s" : ""}:\n${Array.from(
626
changedFiles
627
)
628
.map(formatSounds)
0 commit comments