Skip to content

Commit

Permalink
fix: user receive dm alert format
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyko committed May 22, 2024
1 parent c8d3f6f commit 15bf687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/bot/src/events/interactionCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,10 @@ export default class implements Event {
try {
await user.send({
content: stripIndents`
Your feedback submission titled "${row.subject ?? 'No Subject'}" received a message!
Your feedback submission titled "${row.subject?.length ? row.subject : 'No Subject'}" received a message:
${content}
- ${interaction.user.globalName ?? interaction.user.tag}
\- ${interaction.user.globalName ?? interaction.user.tag}
`,
components: [
createMessageActionRow([
Expand Down

0 comments on commit 15bf687

Please sign in to comment.