We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7966429 commit 336e602Copy full SHA for 336e602
index.js
@@ -11,7 +11,6 @@ if (!/https:\/\/discordapp\.com\/api\/webhooks\/\d+?\/.+/i.exec(webhook)) {
11
12
const escapeMd = (str) => str.replace(/([\[\]\\`\(\)])/g, '\\$1')
13
14
-const octokit = new github.GitHub(github.token)
15
const commits = github.context.commits.map(i => ` - [\\[${i.sha}\\]](${i.url}) ${escapeMd(i.message)} - by ${i.author.name}`)
16
17
if (!commits.length) {
0 commit comments