Skip to content

Commit

Permalink
✨ Add pronote URL to homework notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Oct 10, 2020
1 parent eb6af01 commit dd46a36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ const sendDiscordNotificationHomework = (homework) => {
.setTitle(homework.subject.toUpperCase())
.setDescription(homework.description)
.setFooter(`Devoir pour le ${moment(homework.for).format("dddd Do MMMM")}`)
.setURL(process.env.PRONOTE_URL)
.setColor("#70C7A4");

if(homework.files.length >= 1) {
Expand Down

0 comments on commit dd46a36

Please sign in to comment.