Feature/vba 52 #175
3 changed files with 17 additions and 6 deletions
|
@ -9,7 +9,7 @@
|
|||
BOT_TOKEN=
|
||||
BOT_VER=3.1
|
||||
BOT_AUTHOR=Vylpes
|
||||
BOT_DATE=08 Aug 2022
|
||||
BOT_DATE=20 Aug 2022
|
||||
BOT_OWNERID=147392775707426816
|
||||
|
||||
ABOUT_FUNDING=
|
||||
|
|
|
@ -13,12 +13,15 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.vylpes.xyz/rabbitlabs/vylbot-app"
|
||||
"url": "https://github.com/Vylpes/vylbot-app"
|
||||
},
|
||||
"author": "Vylpes",
|
||||
"license": "MIT",
|
||||
"bugs": "https://gitea.vylpes.xyz/rabbitlabs/vylbot-app/issues",
|
||||
"homepage": "https://gitea.vylpes.xyz/rabbitlabs/vylbot-app",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Vylpes/vylbot-app/issues",
|
||||
"email": "helpdesk@vylpes.com"
|
||||
},
|
||||
"homepage": "https://github.com/Vylpes/vylbot-app",
|
||||
"dependencies": {
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/uuid": "^8.3.4",
|
||||
|
|
|
@ -22,11 +22,19 @@ export default class About extends Command {
|
|||
const row = new MessageActionRow();
|
||||
|
||||
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) {
|
||||
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] });
|
||||
|
|
Loading…
Reference in a new issue