Fix changes requested

This commit is contained in:
Ethan Lane 2022-08-20 15:50:01 +01:00
parent 3f6379b95e
commit e432b403b5
3 changed files with 17 additions and 6 deletions

View file

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

View file

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

View file

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