Feature/vba 52 #175

Merged
Vylpes merged 5 commits from feature/VBA-52 into develop 2022-09-05 18:07:33 +01:00
3 changed files with 17 additions and 6 deletions
Showing only changes of commit e432b403b5 - Show all commits

View file

@ -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=

View file

@ -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",

View file

@ -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] });