Skip to content

Commit

Permalink
feat(api): add description
Browse files Browse the repository at this point in the history
  • Loading branch information
Inerska committed Mar 10, 2024
1 parent 267a2f4 commit d2d2113
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,20 @@ class MissionResource @Inject constructor(
"inline": true
},
{
"name": "📅 Deadline",
"value": "${mission.deadline}",
"name": "📝 Description",
"value": "${mission.description.substring(0, min(255, mission.description.length))}${if (mission.description.length > 255) "..." else ""}",
"inline": true
},
{
"name": "🙎Contacter",
"value": "<@${mission.employerSnowflake}>",
"inline": false
}
},
{
"name": "📅 Deadline",
"value": "${mission.deadline}",
"inline": true
},
],
"color": 3092790
}
Expand Down

0 comments on commit d2d2113

Please sign in to comment.