snapshot_poker_uiux_cleanup_2
This commit is contained in:
@@ -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
|
||||
)
|
||||
)
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user