ctm / mb2-doc

Mb2, poker software
https://devctm.com
7 stars 2 forks source link

Add redeem to the help text #1294

Closed ctm closed 6 months ago

ctm commented 6 months ago

Add redeem and any other undocumented commands to the help text.

It was asked for in the lobby.

ctm commented 6 months ago
[master]% git diff
diff --git a/lib/text/src/player.rs b/lib/text/src/player.rs
index 86a28d93..68f71c89 100644
--- a/lib/text/src/player.rs
+++ b/lib/text/src/player.rs
@@ -28,6 +28,7 @@ impl MessagePlayersToString for PlayerMessage {
 help
 status
 cards
+chat message
 quit
 vacation
 back
@@ -41,11 +42,15 @@ discard cards
 discard none 
 rebuy
 rebuy_on_bust
+redeem n
+add-on
 done_on_bust
 add_on
 undo [action | reveal | discard]
 fold
 check
+pot
+half
 jam
 make amount
 call [amount]

Deploying now.