Merge pull request 'Fix not having a link set in the config crashing the bot' (#261) from feature/176-about-command into develop
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/261 Reviewed-by: VylpesTester <tester@vylpes.com>
This commit is contained in:
commit
19b6cb033c
4 changed files with 5 additions and 5 deletions
2
.dev.env
2
.dev.env
|
@ -13,4 +13,4 @@ BOT_OWNERID=147392775707426816
|
|||
BOT_CLIENTID=682942374040961060
|
||||
|
||||
ABOUT_FUNDING=https://ko-fi.com/vylpes
|
||||
ABOUT_REPO=https://github.com/vylpes/vylbot-app
|
||||
ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app
|
||||
|
|
|
@ -13,4 +13,4 @@ BOT_OWNERID=147392775707426816
|
|||
BOT_CLIENTID=680083120896081954
|
||||
|
||||
ABOUT_FUNDING=https://ko-fi.com/vylpes
|
||||
ABOUT_REPO=https://github.com/vylpes/vylbot-app
|
||||
ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app
|
||||
|
|
|
@ -13,4 +13,4 @@ BOT_OWNERID=147392775707426816
|
|||
BOT_CLIENTID=1016767908740857949
|
||||
|
||||
ABOUT_FUNDING=https://ko-fi.com/vylpes
|
||||
ABOUT_REPO=https://github.com/vylpes/vylbot-app
|
||||
ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app
|
||||
|
|
|
@ -31,7 +31,7 @@ export default class About extends Command {
|
|||
value: process.env.BOT_AUTHOR!,
|
||||
inline: true,
|
||||
},
|
||||
])
|
||||
]);
|
||||
|
||||
const row = new ActionRowBuilder<ButtonBuilder>();
|
||||
|
||||
|
@ -51,6 +51,6 @@ export default class About extends Command {
|
|||
.setStyle(ButtonStyle.Link));
|
||||
}
|
||||
|
||||
await interaction.reply({ embeds: [ embed ]});
|
||||
await interaction.reply({ embeds: [ embed ], components: row.components.length > 0 ? [ row ] : [] });
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue