I think it’d be better if you placed this in a script instead of trying to do this in a single custom command.
That way it allows for more flexibility, and on top of it, it allows for a lot more customization.
It’d take a lot of work, but using a custom script you could base it around the actual rules of CAH.
For instance: Set a timer for the game. When first triggered, it starts the game, and the bot prints out a random black card. Users will then type
!draw and they’ll place a random white card for the black card. People could vote on which drawn card fits best. That person “wins” the round and gets some form of points.
It could get a lot more complex than that (like giving users their own hands and etc), but that’s just a start.