Abheek D
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
4 deletions
-
index.js
|
|
@ -442,12 +442,10 @@ async function about(action, interaction) { |
|
|
|
|
|
|
|
interaction.reply({ embeds: [contributorEmbed] }); |
|
|
|
} else if (action === "changelog") { |
|
|
|
let parentFolder = __dirname.split("/"); |
|
|
|
parentFolder.pop(); |
|
|
|
parentFolder = parentFolder.join("/"); |
|
|
|
const gitRepoLocation = __dirname; |
|
|
|
|
|
|
|
const commits = gitlog({ |
|
|
|
repo: parentFolder, |
|
|
|
repo: gitRepoLocation, |
|
|
|
number: 5, |
|
|
|
fields: ["hash", "abbrevHash", "subject", "authorName", "authorDateRel"], |
|
|
|
}); |
|
|
|