Skip to content

Commit

Permalink
Better message
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Apr 3, 2024
1 parent 8567bd5 commit bdbc4bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/lib/slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export default class Slack {
elements: [
{
type: "text",
style: { italic: true },
text:
reportRequest.reporterText ||
"No text provided by reporter",
Expand All @@ -92,6 +93,13 @@ export default class Slack {
},
],
},
{
type: "section",
text: {
type: "plain_text",
text: "Offending text:",
},
},
{
type: "rich_text",
block_id: "reportedText",
Expand All @@ -101,6 +109,7 @@ export default class Slack {
elements: [
{
type: "text",
style: { italic: true },
text: reportRequest.reportedEvent.content,
},
],
Expand Down

0 comments on commit bdbc4bf

Please sign in to comment.