Fix changes requested
This commit is contained in:
parent
3f6379b95e
commit
e432b403b5
3 changed files with 17 additions and 6 deletions
|
@ -9,7 +9,7 @@
|
||||||
BOT_TOKEN=
|
BOT_TOKEN=
|
||||||
BOT_VER=3.1
|
BOT_VER=3.1
|
||||||
BOT_AUTHOR=Vylpes
|
BOT_AUTHOR=Vylpes
|
||||||
BOT_DATE=08 Aug 2022
|
BOT_DATE=20 Aug 2022
|
||||||
BOT_OWNERID=147392775707426816
|
BOT_OWNERID=147392775707426816
|
||||||
|
|
||||||
ABOUT_FUNDING=
|
ABOUT_FUNDING=
|
||||||
|
|
|
@ -13,12 +13,15 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitea.vylpes.xyz/rabbitlabs/vylbot-app"
|
"url": "https://github.com/Vylpes/vylbot-app"
|
||||||
},
|
},
|
||||||
"author": "Vylpes",
|
"author": "Vylpes",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": "https://gitea.vylpes.xyz/rabbitlabs/vylbot-app/issues",
|
"bugs": {
|
||||||
"homepage": "https://gitea.vylpes.xyz/rabbitlabs/vylbot-app",
|
"url": "https://github.com/Vylpes/vylbot-app/issues",
|
||||||
|
"email": "helpdesk@vylpes.com"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/Vylpes/vylbot-app",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/jest": "^27.0.3",
|
"@types/jest": "^27.0.3",
|
||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
|
|
|
@ -22,11 +22,19 @@ export default class About extends Command {
|
||||||
const row = new MessageActionRow();
|
const row = new MessageActionRow();
|
||||||
|
|
||||||
if (repoLink) {
|
if (repoLink) {
|
||||||
row.addComponents(new MessageButton().setURL(repoLink).setLabel("Repo").setStyle(MessageButtonStyles.LINK));
|
row.addComponents(
|
||||||
|
new MessageButton()
|
||||||
|
.setURL(repoLink)
|
||||||
|
.setLabel("Repo")
|
||||||
|
.setStyle(MessageButtonStyles.LINK));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fundingLink) {
|
if (fundingLink) {
|
||||||
row.addComponents(new MessageButton().setURL(fundingLink).setLabel("Funding").setStyle(MessageButtonStyles.LINK));
|
row.addComponents(
|
||||||
|
new MessageButton()
|
||||||
|
.setURL(fundingLink)
|
||||||
|
.setLabel("Funding")
|
||||||
|
.setStyle(MessageButtonStyles.LINK));
|
||||||
}
|
}
|
||||||
|
|
||||||
await embed.SendToCurrentChannel({ components: [row] });
|
await embed.SendToCurrentChannel({ components: [row] });
|
||||||
|
|
Loading…
Reference in a new issue