Skip to content

Commit

Permalink
Correct url
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Runge committed Jun 25, 2021
1 parent c93e781 commit 01c2b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function buildEmbed(scrumMasters) {
let result = new Discord.MessageEmbed()
.setTitle("New Scrum Master(s)")
.setColor("#211a52")
.setAuthor("AAU-Dat", ICON_URL, "http://github/AAU-Dat")
.setAuthor("AAU-Dat", ICON_URL, "http://github.com/AAU-Dat")
.setFooter("Generated by a Github Action")
.addField("Scrum master", scrumMasters[0], true);

Expand All @@ -50,7 +50,7 @@ function postScrumMastersDiscord(embed) {
const webhookClient = new Discord.WebhookClient(id, token);

webhookClient
.send("Webhook test", {
.send({
username: "Github Action",
avatarURL: ICON_URL,
embeds: [embed],
Expand Down

0 comments on commit 01c2b9a

Please sign in to comment.