added blackjack

This commit is contained in:
DeSqBlocki
2026-08-18 20:44:51 +02:00
parent 0407f4d7f1
commit 0d512960a7
11 changed files with 1955 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
const {
showBlackjack
} = require(
"../../utils/crumbBlackjack"
);
module.exports = {
name:
"crumbSaucerBlackjack",
async execute(interaction) {
return showBlackjack(
interaction
);
}
};
+18
View File
@@ -0,0 +1,18 @@
const {
startBlackjack
} = require(
"../../utils/crumbBlackjack"
);
module.exports = {
name:
"crumbBlackjackBet10",
async execute(interaction) {
return startBlackjack(
interaction,
10
);
}
};
+18
View File
@@ -0,0 +1,18 @@
const {
startBlackjack
} = require(
"../../utils/crumbBlackjack"
);
module.exports = {
name:
"crumbBlackjackBet100",
async execute(interaction) {
return startBlackjack(
interaction,
100
);
}
};
+18
View File
@@ -0,0 +1,18 @@
const {
startBlackjack
} = require(
"../../utils/crumbBlackjack"
);
module.exports = {
name:
"crumbBlackjackBet1000",
async execute(interaction) {
return startBlackjack(
interaction,
1000
);
}
};
+18
View File
@@ -0,0 +1,18 @@
const {
startBlackjack
} = require(
"../../utils/crumbBlackjack"
);
module.exports = {
name:
"crumbBlackjackBet50",
async execute(interaction) {
return startBlackjack(
interaction,
50
);
}
};
+18
View File
@@ -0,0 +1,18 @@
const {
startBlackjack
} = require(
"../../utils/crumbBlackjack"
);
module.exports = {
name:
"crumbBlackjackBet500",
async execute(interaction) {
return startBlackjack(
interaction,
500
);
}
};
+17
View File
@@ -0,0 +1,17 @@
const {
doubleBlackjack
} = require(
"../../utils/crumbBlackjack"
);
module.exports = {
name:
"crumbBlackjackDouble",
async execute(interaction) {
return doubleBlackjack(
interaction
);
}
};
+17
View File
@@ -0,0 +1,17 @@
const {
hitBlackjack
} = require(
"../../utils/crumbBlackjack"
);
module.exports = {
name:
"crumbBlackjackHit",
async execute(interaction) {
return hitBlackjack(
interaction
);
}
};
+17
View File
@@ -0,0 +1,17 @@
const {
standBlackjack
} = require(
"../../utils/crumbBlackjack"
);
module.exports = {
name:
"crumbBlackjackStand",
async execute(interaction) {
return standBlackjack(
interaction
);
}
};
File diff suppressed because it is too large Load Diff
+17 -1
View File
@@ -626,6 +626,9 @@ function buildMainMenuEmbed(
"### 🏦 Vault Heist", "### 🏦 Vault Heist",
"Attempt to breach ShaiBot's Cookie Vault.", "Attempt to breach ShaiBot's Cookie Vault.",
"", "",
"### 🃏 Blackjack",
"Beat the dealer without going over 21.",
"",
"*More attractions coming soon...*" "*More attractions coming soon...*"
].join("\n") ].join("\n")
) )
@@ -679,12 +682,25 @@ function buildMainMenuButtons() {
) )
.setStyle( .setStyle(
ButtonStyle.Danger ButtonStyle.Danger
),
new ButtonBuilder()
.setCustomId(
"crumbSaucerBlackjack"
)
.setLabel(
"Blackjack"
)
.setEmoji(
"🃏"
)
.setStyle(
ButtonStyle.Success
) )
) )
]; ];
} }
function buildSlotBetButtons() { function buildSlotBetButtons() {
return [ return [
new ActionRowBuilder() new ActionRowBuilder()