match request update

This commit is contained in:
VinceC
2024-11-28 04:59:46 -06:00
parent 26a5edeb4f
commit 119891730d
3 changed files with 21 additions and 15 deletions

View File

@@ -15,19 +15,19 @@ const GAME_URLS = {
function createMatchActionRow(gameName) {
const matchhubUrl = GAME_URLS[gameName] || "https://www.vrbattles.gg/games";
return new ActionRowBuilder()
.addComponents(
new ButtonBuilder()
.setLabel('View Matchhub')
.setStyle(ButtonStyle.Link)
.setURL(matchhubUrl),
new ButtonBuilder()
.setLabel('Join VRBattles Discord')
.setStyle(ButtonStyle.Link)
.setURL('https://discord.gg/j3DKVATPGQ')
);
return new ActionRowBuilder().addComponents(
new ButtonBuilder()
.setLabel('🎮 View Matchhub')
.setStyle(ButtonStyle.Link)
.setURL(matchhubUrl),
new ButtonBuilder()
.setLabel('🟡 Join VRBattles Discord')
.setStyle(ButtonStyle.Link)
.setURL('https://discord.gg/j3DKVATPGQ')
);
}
module.exports = {
createMatchActionRow
createMatchActionRow,
GAME_URLS
};