snapshot_poker_uiux_cleanup_2

This commit is contained in:
DeSqBlocki
2026-09-08 21:05:52 +02:00
parent 82cef1b34a
commit c61e34c241
6 changed files with 475 additions and 0 deletions
+18
View File
@@ -110,6 +110,10 @@ function formatPokerError(
"There is no active Poker hand.",
HAND_ACTIVE:
"You cannot cash out during an active Poker hand.",
CANCEL_HAND_ACTIVE:
"Finish the current hand before cancelling the table.",
TABLE_NOT_CANCELLABLE:
"This Poker table cannot be cancelled right now.",
OUT_OF_TURN:
"It isn't your turn.",
TURN_EXPIRED:
@@ -715,6 +719,20 @@ function buildPokerTableComponents(
)
.setStyle(
ButtonStyle.Secondary
),
new ButtonBuilder()
.setCustomId(
"pokerCancel"
)
.setLabel(
"Cancel Table"
)
.setEmoji(
"🛑"
)
.setStyle(
ButtonStyle.Danger
)
)
];